/* Custom styles for the Meredyt website (moved here from inline style blocks) */

/* Red outline on click (button animation) */
.band-click-outline {
  position: fixed;
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 2px solid #FF3344;
  background: transparent;
  pointer-events: none;
  z-index: 999999;
  transform-origin: center;
}


/* Hero section: social icons on the right */
.meredyt-hero {
  position: relative;
}

/* Keep the icons on the right side of the hero */
.meredyt-hero .meredyt-hero-social-widget {
  position: absolute !important;
  top: 50%;
  right: 28px;
  bottom: auto;
  left: auto;

  width: auto !important;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  z-index: 5;
}

.meredyt-hero-socials {
  --square-size: 52px;
  --icon-size: 28px;
  --corner-radius: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.meredyt-hero-socials .hero-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--square-size);

  width: var(--square-size);
  height: var(--square-size);
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: var(--corner-radius);
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.meredyt-hero-socials .hero-social img {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.meredyt-hero-socials .hero-social-facebook {
  background: #1877f2;
}

.meredyt-hero-socials .hero-social-instagram {
  background: radial-gradient(
    circle at 30% 110%,
    #feda75 0%,
    #fa7e1e 25%,
    #d62976 50%,
    #962fbf 75%,
    #4f5bd5 100%
  );
}

.meredyt-hero-socials .hero-social-tiktok {
  background: #000;
  border-color: rgba(255, 255, 255, 0.12);
}

@media (hover: hover) {
  .meredyt-hero-socials .hero-social:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: #b3192b;
    box-shadow: 0 6px 18px rgba(179, 25, 43, 0.25);
  }
}

.meredyt-hero-socials .hero-social:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .meredyt-hero .meredyt-hero-social-widget {
    right: max(12px, env(safe-area-inset-right, 0px));
  }

  .meredyt-hero-socials {
    --square-size: 36px;
    --icon-size: 20px;
    --corner-radius: 7px;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meredyt-hero-socials .hero-social {
    transition: none;
  }

  .meredyt-hero-socials .hero-social:hover {
    transform: none;
  }
}


/* Repertoire: links in the song list */
ul.band-repertoire a.band-repertoire-link,
ul.band-repertoire a.band-repertoire-link:visited,
ul.band-repertoire a.band-repertoire-link:hover,
ul.band-repertoire a.band-repertoire-link:focus {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-decoration: none;
}
ul.band-repertoire a.band-repertoire-link:focus-visible {
    outline: 2px solid #FF3344;
    outline-offset: 3px;
}


/* Back to top button */
#band-back-to-top {
  position: fixed;
  right: 32px;
  bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;

  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  overflow: visible;

  background: #FF3344;
  color: #F5F5F5;
  border: 0;
  border-radius: 0;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(15px) rotate(45deg);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background-color 0.2s ease;
}

#band-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) rotate(45deg);
}

#band-back-to-top:hover {
  background: #FF6673;
}

#band-back-to-top:focus-visible {
  outline: 2px solid #F5F5F5;
  outline-offset: 5px;
}

/* Expanding diamond outline */
#band-back-to-top::after {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 2px solid #FF3344;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

#band-back-to-top.is-clicked::after {
  animation: back-to-top-wave 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes back-to-top-wave {
  from {
    transform: scale(1);
    opacity: 0.9;
  }

  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* Arrow */
#band-back-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-45deg);
}

/* Smaller mobile button and horizontal overflow clipping */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: clip;
  }

  #band-back-to-top {
    width: 34px;
    height: 34px;
    right: calc(28px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  #band-back-to-top svg {
    width: 18px;
    height: 18px;
  }

  #band-back-to-top::after {
    border-width: 1.5px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  #band-back-to-top {
    transition: none;
  }

  #band-back-to-top.is-clicked::after {
    animation: none;
  }
}


/* Social icons (footer / contacts) */
.meredyt-socials {
  --square-size: 52px;
  --icon-size: 28px;
  --corner-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.meredyt-socials .meredyt-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--square-size);

  width: var(--square-size);
  height: var(--square-size);
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: var(--corner-radius);
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.meredyt-socials .meredyt-social-link img {
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.meredyt-socials .social-facebook {
  background: #1877f2;
}

.meredyt-socials .social-instagram {
  background:
    radial-gradient(
      circle at 30% 110%,
      #feda75 0%,
      #fa7e1e 25%,
      #d62976 50%,
      #962fbf 75%,
      #4f5bd5 100%
    );
}

.meredyt-socials .social-tiktok {
  background: #000;
  border-color: rgba(255, 255, 255, 0.12);
}
.meredyt-socials .social-youtube {
  background: #000;
  border-color: rgba(255, 255, 255, 0.12);
}

.meredyt-socials .social-youtube img {
  filter: none;
}

.meredyt-socials .meredyt-social-link:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: #b3192b;
  box-shadow: 0 6px 18px rgba(179, 25, 43, 0.25);
}

.meredyt-socials .meredyt-social-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .meredyt-socials {
    --square-size: 44px;
    --icon-size: 24px;
    --corner-radius: 8px;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meredyt-socials .meredyt-social-link {
    transition: none;
  }

  .meredyt-socials .meredyt-social-link:hover {
    transform: none;
  }
}


/* Random footer image */
#footer-random-image {
  display: block;
  width: 100%;
  max-width: 230px;
  max-height: 230px;
  height: auto;
  object-fit: cover;
  margin: auto;
  /* The real picture is a background (see site.js), the img itself is a blank placeholder */
  background: center / contain no-repeat;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;   /* no "save image" on long press (iPhone) */
}

@media (max-width: 767px) {
  #footer-random-image {
    width: 170px;
    height: 170px;
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
  }
}

/* "Zpět domů" arrow ([home_arrow] shortcode) */
.home-arrow {
  position: fixed;
  top: 50%;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform: translateY(-50%);
  color: #F5F5F5;
  text-decoration: none;
}

.home-arrow:hover,
.home-arrow:focus-visible {
  color: #F5F5F5;
  text-decoration: none;
}

.home-arrow-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #FF3344;
  transform: rotate(45deg);
  transition: background-color 0.2s ease;
}

.home-arrow-icon svg {
  transform: rotate(-45deg);
}

.home-arrow:hover .home-arrow-icon {
  background: #FF6673;
}

.home-arrow:focus-visible .home-arrow-icon {
  outline: 2px solid #F5F5F5;
  outline-offset: 5px;
}

/* Expanding diamond outline on click */
.home-arrow-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 2px solid #FF3344;
  opacity: 0;
  pointer-events: none;
}

.home-arrow.is-clicked .home-arrow-icon::after {
  animation: home-arrow-wave 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes home-arrow-wave {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

.home-arrow-label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .home-arrow {
    top: auto;
    left: auto;
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
    transform: none;
  }

  .home-arrow-icon {
    width: 34px;
    height: 34px;
  }

  .home-arrow-icon svg {
    width: 18px;
    height: 18px;
  }

  .home-arrow-icon::after {
    border-width: 1.5px;
  }

  .home-arrow-label {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-arrow-icon {
    transition: none;
  }

  .home-arrow.is-clicked .home-arrow-icon::after {
    animation: none;
  }
}

/* Homepage concert list: Facebook icon only for concerts with a real event link */
.e-loop-item.no-facebook-link .elementor-widget-icon {
  display: none;
}

/* Angled buttons: add the CSS class button-all-concerts or band-angled-button in Elementor (Advanced > CSS Classes); only the look changes, font and spacing stay from Elementor */
:root {
  --mb-red: #FF3344;
  --mb-red-hover: #FF6673; /* Red Accents: hover */
  --mb-white: #F5F5F5;
  --mb-cut: 14px;          /* size of the cut corner */
}

html body .button-all-concerts a.elementor-button,
html body a.elementor-button.button-all-concerts,
html body a.button-all-concerts,
html body .band-angled-button a.elementor-button,
html body a.elementor-button.band-angled-button,
html body a.band-angled-button {
  position: relative;
  box-sizing: border-box;
  background: var(--mb-red) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--mb-white) !important;
  clip-path: polygon(0 0, calc(100% - var(--mb-cut)) 0, 100% var(--mb-cut), 100% 100%, var(--mb-cut) 100%, 0 calc(100% - var(--mb-cut)));
  transition: background-color .2s ease, color .2s ease;
}

html body .button-all-concerts a.elementor-button *,
html body a.elementor-button.button-all-concerts *,
html body a.button-all-concerts *,
html body .band-angled-button a.elementor-button *,
html body a.elementor-button.band-angled-button *,
html body a.band-angled-button * {
  color: inherit !important;
  fill: currentColor;
}

/* Hover: lighter red fill */
html body .button-all-concerts a.elementor-button:hover,
html body a.elementor-button.button-all-concerts:hover,
html body a.button-all-concerts:hover,
html body .band-angled-button a.elementor-button:hover,
html body a.elementor-button.band-angled-button:hover,
html body a.band-angled-button:hover {
  background: var(--mb-red-hover) !important;
  color: var(--mb-white) !important;
}

/* Keyboard focus (a normal outline would be clipped by the cut corners) */
html body .button-all-concerts a.elementor-button:focus-visible,
html body a.elementor-button.button-all-concerts:focus-visible,
html body a.button-all-concerts:focus-visible,
html body .band-angled-button a.elementor-button:focus-visible,
html body a.elementor-button.band-angled-button:focus-visible,
html body a.band-angled-button:focus-visible {
  outline: none !important;
  box-shadow: inset 0 0 0 2px var(--mb-white) !important;
}

@media (max-width: 767px) {
  :root { --mb-cut: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html body .button-all-concerts a.elementor-button,
  html body a.elementor-button.button-all-concerts,
  html body a.button-all-concerts,
  html body .band-angled-button a.elementor-button,
  html body a.elementor-button.band-angled-button,
  html body a.band-angled-button { transition: none; }
}
/* Click outline for angled buttons: same cut corners, with the diagonal lines drawn by gradients so the clip does not remove them */
.band-click-outline.band-click-outline--angled {
  --mb-cut: 14px;
  clip-path: polygon(0 0, calc(100% - var(--mb-cut)) 0, 100% var(--mb-cut), 100% 100%, var(--mb-cut) 100%, 0 calc(100% - var(--mb-cut)));
  background-image:
    linear-gradient(to top right,   transparent calc(50% - 2px), #FF3344 calc(50% - 2px) 50%, transparent 50%),
    linear-gradient(to bottom left, transparent calc(50% - 2px), #FF3344 calc(50% - 2px) 50%, transparent 50%);
  background-position: top right, bottom left;
  background-size: var(--mb-cut) var(--mb-cut), var(--mb-cut) var(--mb-cut);
  background-repeat: no-repeat;
  background-origin: border-box;
  background-clip: border-box;
}

/* Hero social icons: YouTube */

/* YouTube logo keeps its own colors, so no white filter */
.meredyt-hero-socials .hero-social-youtube {
  background: #000;
  border-color: rgba(255, 255, 255, .12);
}
.meredyt-hero-socials .hero-social-youtube img {
  filter: none;
}


/* Hero: tagline under the logo in the video and the "Objednat kapelu" button (HTML widget with class meredyt-hero-cta-widget; offset follows the logo size in the cover-scaled video) */
#meredyt-hero .meredyt-hero-cta-widget {
  position: absolute !important;
  top: calc(50% + max(4.53vw, 8.06%) + var(--cta-gap, 28px));
  left: 50%;
  transform: translateX(-50%);
  width: max-content !important;
  max-width: calc(100% - 120px);
  margin: 0;
  padding: 0;
  z-index: 4;
}
.meredyt-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.meredyt-hero-cta .meredyt-hero-tagline {
  margin: 0;
  padding: 0;
  font-family: "Antonio", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #F5F5F5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}
.meredyt-hero-cta .meredyt-hero-book {
  display: inline-block;
  padding: 17px 28px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

/* Dark background and red outline; the diagonal lines in the cut corners are drawn by gradients, hover fills red */
.meredyt-hero-cta a.meredyt-hero-book.band-angled-button {
  --cta-line: 2px;
  background-color: #0E0E0E !important;
  background-image:
    linear-gradient(to top right,   transparent calc(50% - var(--cta-line)), #FF3344 calc(50% - var(--cta-line)) 50%, transparent 50%),
    linear-gradient(to bottom left, transparent calc(50% - var(--cta-line)), #FF3344 calc(50% - var(--cta-line)) 50%, transparent 50%) !important;
  background-position: top right, bottom left !important;
  background-size: var(--mb-cut) var(--mb-cut), var(--mb-cut) var(--mb-cut) !important;
  background-repeat: no-repeat !important;
  background-origin: border-box !important;
  border: var(--cta-line) solid #FF3344 !important;
  color: #F5F5F5 !important;
}
.meredyt-hero-cta a.meredyt-hero-book.band-angled-button:hover {
  background-color: #FF3344 !important;
}
.meredyt-hero-cta a.meredyt-hero-book.band-angled-button:focus-visible {
  box-shadow: inset 0 0 0 2px #F5F5F5 !important;
}

@media (max-width: 767px) {
  #meredyt-hero .meredyt-hero-cta-widget { --cta-gap: 12px; }
  .meredyt-hero-cta { gap: 16px; }
  .meredyt-hero-cta .meredyt-hero-tagline { font-size: 13px; }
  .meredyt-hero-cta .meredyt-hero-book { --mb-cut: 8px; padding: 9px 14px; font-size: 11px; }
}



/* Social icons in the mobile dropdown menu (reuses the hero icon styles, only layout and size change here) */
.meredyt-hero-socials.meredyt-menu-socials {
  --square-size: 40px;
  --icon-size: 22px;
  --corner-radius: 8px;
  flex-direction: row;
  gap: 12px;
  margin: 4px 20px 0;
  padding: 16px 0 18px;
  border-top: 1px solid rgba(245, 245, 245, .1);
}
.meredyt-menu-socials[hidden],
.elementor-widget-html > .meredyt-menu-socials { display: none; }

/* Menu link styles (background, padding, color) must not override the icon squares */
.elementor-nav-menu--dropdown .meredyt-menu-socials .hero-social {
  padding: 0 !important;
  color: #F5F5F5 !important;
  -webkit-tap-highlight-color: transparent;
}
.elementor-nav-menu--dropdown .meredyt-menu-socials .hero-social-facebook  { background: #1877F2 !important; }
.elementor-nav-menu--dropdown .meredyt-menu-socials .hero-social-instagram { background: radial-gradient(circle at 30% 110%, #FEDA75 0%, #FA7E1E 25%, #D62976 50%, #962FBF 75%, #4F5BD5 100%) !important; }
.elementor-nav-menu--dropdown .meredyt-menu-socials .hero-social-tiktok,
.elementor-nav-menu--dropdown .meredyt-menu-socials .hero-social-youtube   { background: #000 !important; border-color: rgba(255, 255, 255, .12); }
.elementor-nav-menu--dropdown .meredyt-menu-socials .hero-social:active { transform: scale(.94); }

/* Header below the WordPress admin bar when logged in (the header is absolute at top: 0; Elementor handles the sticky state) */
body.admin-bar .elementor-197 .elementor-element-7166f424:not(.elementor-sticky--active) {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .elementor-197 .elementor-element-7166f424:not(.elementor-sticky--active) {
    top: 46px;
  }
}
/* Main headings: 3D extrusion with a thin outline (4 shadows for the outline, 5 for the extrusion, in em so it scales); turn off Text Shadow in Elementor */
.elementor-widget-heading h2.elementor-heading-title {
  --title-3d: #4A0911;   /* outline and extrusion color */
  text-shadow:
    -1px 0 var(--title-3d), 0 1px var(--title-3d), 1px 0 var(--title-3d), 0 -1px var(--title-3d),
    0 .065em var(--title-3d), 0 .052em var(--title-3d), 0 .039em var(--title-3d),
    0 .026em var(--title-3d), 0 .013em var(--title-3d);
}

/* Mobile: small text, so no outline and a fixed 3px extrusion */
@media (max-width: 767px) {
  .elementor-widget-heading h2.elementor-heading-title {
    text-shadow:
      0 3px var(--title-3d), 0 2px var(--title-3d), 0 1px var(--title-3d);
  }
}

/* Song player [band_player] */
/* Band colors and fonts in one place */
.band-player,
.band-player-sticky {
    --bp-red:       #FF3344;   /* Title Red: played part of the wave, button */
    --bp-red-hover: #FF6673;   /* Red Accents/Active: hover */
    --bp-white:     #F5F5F5;   /* Title White: title, current time */
    --bp-silver:    #B3B3B3;   /* Silver: total duration, subtitle */
    --bp-bg:        #0E0E0E;   /* Near Black: card background */
    --bp-line:      #54595F;   /* Dividers: unplayed wave, separators */
    --bp-surface:   #151618;   /* card background, one shade lighter than the page */
    --bp-page:      #0E0E0E;   /* page color behind the card (paints over the cut corners); must match the section background */
    --bp-title-font: "Anton", Impact, "Arial Narrow", sans-serif;
    --bp-body-font:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bp-time-font:  "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;   /* times */
}
.band-player {
    --bp-cut:  22px;                      /* size of the cut corner */
    --bp-edge: rgba(255, 51, 68, .5);     /* border color (solid while playing, see below) */
    box-sizing: border-box;
    position: relative;
    margin: 0 0 16px;
    padding: 13px 19px 11px;
    background: linear-gradient(180deg, var(--bp-surface), var(--bp-bg));
    border: 1px solid var(--bp-edge);
    color: var(--bp-white);
    font-family: var(--bp-body-font);
}
.band-player.is-playing { --bp-edge: var(--bp-red); }

/* Cut corners (top right, bottom left): two real span elements paint the corner in the page color and draw the diagonal line, no clip-path needed */
.band-player .band-player-cut {
    content: "";
    display: block;
    position: absolute;
    width:  calc(var(--bp-cut) + 1px);
    height: calc(var(--bp-cut) + 1px);
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
}
.band-player .band-player-cut-a {   /* top right */
    top: -1px;
    right: -1px;
    background: linear-gradient(to top right, transparent calc(50% - .5px), var(--bp-edge) calc(50% - .5px) calc(50% + .5px), var(--bp-page) calc(50% + .5px));
}
.band-player .band-player-cut-b {   /* bottom left */
    bottom: -1px;
    left: -1px;
    background: linear-gradient(to bottom left, transparent calc(50% - .5px), var(--bp-edge) calc(50% - .5px) calc(50% + .5px), var(--bp-page) calc(50% + .5px));
}
.band-player *,
.band-player-sticky * { box-sizing: border-box; }

/* Header: title on the left, volume top right */
.band-player-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 6px;
}
.band-player-heading { min-width: 0; }

/* Song title: Anton, uppercase (like the h3 headings) */
.band-player .band-player-title {
    margin: 0;
    padding: 0;
    color: var(--bp-white);
    font-family: var(--bp-title-font);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: .5px;
    line-height: 1.1;
    text-transform: uppercase;
}
.band-player .band-player-subtitle {
    margin: 2px 0 0;
    color: var(--bp-silver);
    font-size: 13px;
    line-height: 1.4;
}

/* Volume: speaker icon (click to mute) and slider */
.band-player-volume {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.band-player .band-player-mute {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--bp-silver);
    cursor: pointer;
    transition: color .15s ease;
}
.band-player .band-player-mute:hover { background: none; color: var(--bp-white); }
.band-player .band-player-mute:focus { outline: none; background: none; }
.band-player .band-player-mute:focus-visible { outline: 2px solid var(--bp-red); outline-offset: 2px; }
.band-player-mute svg { width: 20px; height: 20px; }
.band-player-speaker { fill: currentColor; }
.band-player-waves,
.band-player-cross { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.band-player-cross { display: none; }
.band-player.is-muted .band-player-waves { display: none; }
.band-player.is-muted .band-player-cross { display: inline; }
.band-player.is-muted .band-player-mute { color: var(--bp-red); }

/* Slider: thin line, filled part in red (--bp-fill is set by the script) */
.band-player .band-player-range {
    -webkit-appearance: none;
    appearance: none;
    width: 96px;
    height: 18px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    --bp-fill: 100%;
}
.band-player .band-player-range:focus { outline: none; }
.band-player-range::-webkit-slider-runnable-track {
    height: 3px;
    background: linear-gradient(to right, var(--bp-red) var(--bp-fill), var(--bp-line) var(--bp-fill));
}
.band-player-range::-moz-range-track { height: 3px; background: var(--bp-line); }
.band-player-range::-moz-range-progress { height: 3px; background: var(--bp-red); }
/* Thumb: small white diamond */
.band-player-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    margin-top: -3.5px;
    background: var(--bp-white);
    border: 0;
    border-radius: 0;
    transform: rotate(45deg);
}
.band-player-range::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: var(--bp-white);
    border: 0;
    border-radius: 0;
    transform: rotate(45deg);
}
.band-player-range:hover::-webkit-slider-thumb { background: var(--bp-red-hover); }
.band-player-range:hover::-moz-range-thumb { background: var(--bp-red-hover); }
.band-player-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--bp-red); outline-offset: 3px; }
.band-player-range:focus-visible::-moz-range-thumb { outline: 2px solid var(--bp-red); outline-offset: 3px; }

/* Stop button top right: shown only while a song is playing or started */
.band-player .band-player-stop {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 0 -6px 0 6px;
    padding: 0;
    background: none;
    border: 0;
    border-left: 1px solid var(--bp-line);
    border-radius: 0;
    box-shadow: none;
    color: var(--bp-silver);
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: color .15s ease, opacity .2s ease, visibility .2s ease;
}
.band-player.is-started .band-player-stop { visibility: visible; opacity: 1; }
.band-player .band-player-stop:hover,
.band-player .band-player-stop:focus { background: none; color: var(--bp-red-hover); outline: none; }
.band-player .band-player-stop:focus-visible { outline: 2px solid var(--bp-red); outline-offset: 2px; }
.band-player-stop svg { width: 16px; height: 16px; margin-left: 6px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* iPhone and iPad don't allow changing the volume from the page, only mute remains */
.band-player.no-volume .band-player-range { display: none; }

/* Row with the button and the wave */
.band-player-body {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Play button: red diamond (same as back to top), icon stays upright */
.band-player .band-player-play,
.band-player-sticky .band-player-play {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
}
.band-player-diamond {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: var(--bp-red);
    transform: rotate(45deg);
    transition: background-color .2s ease, transform .2s ease;
}
.band-player-diamond svg {
    width: 17px;
    height: 17px;
    fill: var(--bp-white);
    transform: rotate(-45deg);
}
.band-player-icon-pause { display: none; }
.band-player.is-playing .band-player-icon-play,
.band-player-sticky.is-playing .band-player-icon-play  { display: none; }
.band-player.is-playing .band-player-icon-pause,
.band-player-sticky.is-playing .band-player-icon-pause { display: block; }

.band-player .band-player-play:hover .band-player-diamond,
.band-player-sticky .band-player-play:hover .band-player-diamond { background: var(--bp-red-hover); transform: rotate(45deg) scale(1.06); }
.band-player .band-player-play:focus,
.band-player-sticky .band-player-play:focus { outline: none; background: none; }
.band-player .band-player-play:focus-visible .band-player-diamond,
.band-player-sticky .band-player-play:focus-visible .band-player-diamond { outline: 2px solid var(--bp-white); outline-offset: 5px; }

/* Expanding diamond outline on click */
.band-player-diamond::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--bp-red);
    opacity: 0;
    pointer-events: none;
}
.band-player.is-clicked .band-player-diamond::after,
.band-player-sticky.is-clicked .band-player-diamond::after {
    animation: band-player-wave 650ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes band-player-wave {
    from { transform: scale(1);   opacity: .9; }
    to   { transform: scale(1.7); opacity: 0; }
}

/* Wave and times */
.band-player-track { flex: 1 1 auto; min-width: 0; }
.band-player-wave {
    position: relative;
    height: 50px;
    cursor: pointer;
    touch-action: none;   /* dragging on the wave doesn't scroll the page on phones */
}
.band-player-wave canvas { display: block; width: 100%; height: 100%; }
.band-player-wave:focus { outline: none; }
.band-player-wave:focus-visible { outline: 2px solid var(--bp-red); outline-offset: 4px; }

.band-player-times {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    font-family: var(--bp-time-font);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
}

/* Seek time label above the mouse or finger position */
.band-player-hover-time {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 6px;
    background: var(--bp-red);
    color: var(--bp-white);
    font-family: var(--bp-time-font);
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .12s ease;
}
.band-player-hover-time.is-visible { opacity: 1; }
.band-player-current  { color: var(--bp-white); }
.band-player-duration { color: var(--bp-silver); }

.band-player-error { color: #FF6673; font-family: "Inter", sans-serif; }

/* Sticky mini player bottom left: appears when the playing song scrolls off screen; clicking the title scrolls back to the player */
.band-player-sticky {
    position: fixed;
    left: calc(24px + env(safe-area-inset-left, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(340px, calc(100vw - 120px));
    padding: 5px 15px 5px 5px;
    --bp-cut:  12px;
    --bp-edge: rgba(255, 51, 68, .5);
    background: linear-gradient(180deg, var(--bp-surface), var(--bp-bg));
    border: 1px solid var(--bp-edge);
    /* It sits over the page content, so the corners are really clipped here (single element, cheap) */
    clip-path: polygon(0 0, calc(100% - var(--bp-cut)) 0, 100% var(--bp-cut), 100% 100%, var(--bp-cut) 100%, 0 calc(100% - var(--bp-cut)));
    color: var(--bp-white);
    font-family: var(--bp-body-font);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
.band-player-sticky.is-playing { --bp-edge: var(--bp-red); }
/* Diagonal red lines on the cut corners (exactly on the cut, 1px inside) */
.band-player-sticky .band-player-cut {
    display: block;
    position: absolute;
    width:  var(--bp-cut);
    height: var(--bp-cut);
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
}
.band-player-sticky .band-player-cut-a {
    top: -1px;
    right: -1px;
    background: linear-gradient(to top right, transparent calc(50% - 1px), var(--bp-edge) calc(50% - 1px) 50%, transparent 50%);
}
.band-player-sticky .band-player-cut-b {
    bottom: -1px;
    left: -1px;
    background: linear-gradient(to bottom left, transparent calc(50% - 1px), var(--bp-edge) calc(50% - 1px) 50%, transparent 50%);
}
.band-player-sticky.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.band-player-sticky .band-player-play { width: 52px; height: 52px; }
.band-player-sticky .band-player-diamond { width: 34px; height: 34px; }
.band-player-sticky .band-player-diamond svg { width: 16px; height: 16px; }

.band-player-sticky .band-player-sticky-title {
    min-width: 0;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--bp-white);
    font-family: var(--bp-title-font);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .5px;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.band-player-sticky .band-player-sticky-title:hover,
.band-player-sticky .band-player-sticky-title:focus { background: none; color: var(--bp-red-hover); outline: none; }
.band-player-sticky .band-player-sticky-title:focus-visible { outline: 2px solid var(--bp-red); outline-offset: 3px; }

/* Close button: stops the song and closes the mini player */
.band-player-sticky .band-player-sticky-close {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: 0 -6px 0 2px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--bp-silver);
    cursor: pointer;
    transition: color .15s ease;
}
.band-player-sticky .band-player-sticky-close:hover,
.band-player-sticky .band-player-sticky-close:focus { background: none; color: var(--bp-red-hover); outline: none; }
.band-player-sticky .band-player-sticky-close:focus-visible { outline: 2px solid var(--bp-red); outline-offset: 2px; }
.band-player-sticky-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Title with a small wave below it (played part in red, click to seek) */
.band-player-sticky-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.band-player-sticky .band-player-sticky-wave {
    display: block;
    width: 140px;
    height: 14px;
    cursor: pointer;
}

/* Small player (size="small"), e.g. above a band member's bio; double class so the phone rules below don't override it */
.band-player.band-player--small {
    --bp-cut: 12px;
    width: 100%;
    margin: 0 0 20px;
    padding: 8px 12px 7px;
}
/* Heading above the player ("Oblíbená skladba:") */
.band-player-label {
    margin: 0 0 8px;
    color: var(--bp-silver, #B3B3B3);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}
/* Floating small player bottom left (floating="yes") */
.band-player-float {
    position: fixed;
    left: calc(24px + env(safe-area-inset-left, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 9998;
    width: min(340px, calc(100vw - 120px));
    animation: band-player-float-in .35s ease both;
}
.band-player-float.is-closed { display: none; }
/* "Oblíbená skladba:" label above the player */
.band-player-float-label {
    display: block;
    width: fit-content;
    margin: 0;
    padding: 5px 16px 4px 10px;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    /* diagonal line in the cut corner + card background */
    background: linear-gradient(to bottom left, transparent calc(50% - 1px), rgba(255, 51, 68, .5) calc(50% - 1px) calc(50% + .5px), transparent calc(50% + .5px)) top right / 10px 10px no-repeat, #151618;
    border: 1px solid rgba(255, 51, 68, .5);
    border-bottom: 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    color: #B3B3B3;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
}
.band-player.band-player--floating {
    width: 100%;
    margin: 0;
    /* It sits over the page content, so the corners are really clipped (like the sticky mini player) */
    clip-path: polygon(0 0, calc(100% - var(--bp-cut)) 0, 100% var(--bp-cut), 100% 100%, var(--bp-cut) 100%, 0 calc(100% - var(--bp-cut)));
}
.band-player.band-player--floating .band-player-stop { visibility: visible; opacity: 1; }   /* closing is always possible */
.band-player.band-player--floating .band-player-heading { min-width: 0; }
.band-player.band-player--floating .band-player-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes band-player-float-in {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: none; }
}
.band-player.band-player--small .band-player-head { align-items: center; margin-bottom: 2px; }
.band-player.band-player--small .band-player-title { font-size: 15px; letter-spacing: .4px; }
.band-player.band-player--small .band-player-subtitle { display: none; }
.band-player.band-player--small .band-player-volume { gap: 6px; }
.band-player.band-player--small .band-player-range { width: 80px; height: 16px; }
.band-player.band-player--small .band-player-mute,
.band-player.band-player--small .band-player-stop { width: 26px; height: 26px; }
.band-player.band-player--small .band-player-mute svg { width: 17px; height: 17px; }
.band-player.band-player--small .band-player-stop svg { width: 14px; height: 14px; }
.band-player.band-player--small .band-player-body { gap: 10px; }
.band-player.band-player--small .band-player-play { width: 38px; height: 38px; }
.band-player.band-player--small .band-player-diamond { width: 26px; height: 26px; }
.band-player.band-player--small .band-player-diamond svg { width: 12px; height: 12px; }
.band-player.band-player--small .band-player-wave { height: 30px; }
.band-player.band-player--small .band-player-times { margin-top: 1px; font-size: 11px; }

/* Phone: compact player, smaller title cut off with "…" when too long */
@media (max-width: 767px) {
    .band-player { --bp-cut: 14px; padding: 7px 10px 6px; }
    .band-player-head { margin-bottom: 2px; }
    .band-player .band-player-heading { flex: 1 1 auto; min-width: 0; }
    .band-player .band-player-title {
        font-size: 16px;
        letter-spacing: .4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* phones use the hardware volume buttons; frees room for the title (mute stays) */
    .band-player:not(.band-player--small):not(.band-player--floating) .band-player-range { display: none; }
    .band-player-body { gap: 8px; }
    .band-player .band-player-play { width: 38px; height: 38px; }
    .band-player-diamond { width: 26px; height: 26px; }
    .band-player-diamond svg { width: 12px; height: 12px; }
    .band-player-wave { height: 30px; }
    .band-player-times { margin-top: 0; font-size: 11px; }

    .band-player-sticky {
        left: calc(12px + env(safe-area-inset-left, 0px));
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        max-width: calc(100vw - 100px);   /* leaves room bottom right for the site's buttons */
    }
    .band-player-sticky { --bp-cut: 10px; }
    .band-player-sticky .band-player-play { width: 44px; height: 44px; }
    .band-player-sticky .band-player-diamond { width: 28px; height: 28px; }
    .band-player-sticky .band-player-diamond svg { width: 14px; height: 14px; }
    .band-player-sticky .band-player-sticky-title { font-size: 14px; }
    .band-player-sticky .band-player-sticky-wave { width: 110px; height: 12px; }
}

@media (max-width: 767px) {
    .band-player-float {
        left: calc(12px + env(safe-area-inset-left, 0px));
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        width: calc(100vw - 100px);   /* leaves room bottom right for the site's buttons */
    }
    .band-player.band-player--floating .band-player-range { width: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    .band-player-float { animation: none; }
    .band-player-diamond,
    .band-player-sticky { transition: none; }
    .band-player.is-clicked .band-player-diamond::after,
    .band-player-sticky.is-clicked .band-player-diamond::after { animation: none; }
}

/* Concert list [band_concerts] */
/* Band colors and fonts */
.band-concerts,
.band-concerts-empty {
    --bc-red:    #FF3344;
    --bc-white:  #F5F5F5;
    --bc-silver: #B3B3B3;
    --bc-line:   #54595F;
    --bc-bg:     #0E0E0E;   /* Near Black: site background */
    --bc-date-font: "Anton", Impact, "Arial Narrow", sans-serif;
    --bc-body-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bc-time-font: "Space Mono", ui-monospace, Menlo, Consolas, monospace;
}

.band-concerts {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: var(--bc-body-font);
}

/* One concert: date | name | place | time | status | Facebook */
.band-concerts .band-concert {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.1fr) 110px minmax(0, 1fr) 36px;
    grid-template-areas: "date place name time status social";   /* place first, like the full list */
    align-items: center;
    column-gap: 16px;
    margin: 0;
    padding: 26px 16px 26px 4px;
    border-bottom: 1px solid var(--bc-line);
}
.band-concerts .band-concert::before,
.band-concerts .band-concert::after { content: none; }

/* Date: Anton, red, uppercase; year always on the second line */
.band-concert-date {
    grid-area: date;
    color: var(--bc-red);
    font-family: var(--bc-date-font);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.band-concert-date span { display: block; }

/* Place is the main (white, bold) text, the concert name is the softer one, like on the full list */
.band-concert-place {
    grid-area: place;
    min-width: 0;
    color: var(--bc-white);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.band-concert-name {
    grid-area: name;
    min-width: 0;
    color: var(--bc-silver);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    overflow-wrap: anywhere;   /* long names wrap instead of covering the time */
}
.band-concert-time {
    grid-area: time;
    color: var(--bc-silver);
    font-family: var(--bc-time-font);
    font-size: 18px;
}

/* Status (ZRUŠENO): Anton, red */
.band-concert-status {
    grid-area: status;
    color: var(--bc-red);
    font-family: var(--bc-date-font);
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* Facebook: white icon on the right, red on hover */
.band-concert-social { grid-area: social; justify-self: end; display: flex; }
.band-concerts .band-concert-facebook {
    display: block;
    width: 34px;
    height: 34px;
    color: var(--bc-white);
    transition: color .15s ease, transform .15s ease;
}
.band-concerts .band-concert-facebook:hover { color: var(--bc-red); transform: scale(1.06); }
.band-concerts .band-concert-facebook:focus-visible { outline: 2px solid var(--bc-red); outline-offset: 3px; border-radius: 50%; }
.band-concert-facebook svg { display: block; width: 100%; height: 100%; }

.band-concerts-empty {
    margin: 0;
    padding: 20px 0;
    color: var(--bc-silver);
    font-family: var(--bc-body-font);
    font-size: 16px;
    border-bottom: 1px solid var(--bc-line);
}

/* Tablet: place and name stacked (place on top) so nothing gets squeezed */
@media (max-width: 1024px) {
    .band-concerts .band-concert {
        grid-template-columns: 150px minmax(0, 1fr) 70px 150px 34px;
        grid-template-areas:
            "date place time status social"
            "date name  time status social";
        row-gap: 2px;
        padding: 22px 8px 22px 2px;
    }
    .band-concert-date { font-size: 26px; }
    .band-concert-place { font-size: 16px; }
    .band-concert-name { font-size: 15px; }
    .band-concert-time { font-size: 15px; }
    .band-concert-status { font-size: 19px; }
    .band-concert-place { align-self: end; }
    .band-concert-name { align-self: start; }
}

/* Tablet and phone: with no place filled in, the name stays alone and centered */
@media (max-width: 1024px) {
    .band-concerts .band-concert.no-place {
        grid-template-areas: "date name time status social";
    }
    .band-concerts .band-concert.no-place .band-concert-name { align-self: center; }
    .band-concerts .band-concert.no-place .band-concert-place { display: none; }
}

/* Cancelled concert: everything except the status is faded, with a red line through the middle of the row */
.band-concerts .band-concert.is-cancelled { position: relative; }
.band-concerts .band-concert.is-cancelled::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--bc-red);
    opacity: .6;
    pointer-events: none;
}
.band-concert.is-cancelled .band-concert-date,
.band-concert.is-cancelled .band-concert-time,
.band-concert.is-cancelled .band-concert-social { opacity: .3; }
.band-concert.is-cancelled .band-concert-place,
.band-concert.is-cancelled .band-concert-name { opacity: .6; }   /* the name must stay readable */

/* "ZRUŠENO" in its own column right of the time, so it never covers the text; the line breaks around it */
.band-concerts .band-concert.is-cancelled .band-concert-status {
    position: relative;
    grid-area: status;
    justify-self: start;
    z-index: 1;
    margin: 0;
    padding: 0 12px;
    background: var(--bc-bg);
    white-space: nowrap;
}

/* Time copy on the town's line: only on phones */
.band-concert-place-time { display: none; }

/* Phone: date (year below) | "town – time", under it the name | status | Facebook */
@media (max-width: 767px) {
    .band-concerts .band-concert {
        grid-template-columns: 68px minmax(0, 1fr) auto 26px;
        grid-template-areas:
            "date place status social"
            "date name  status social";
        column-gap: 12px;
        row-gap: 3px;
        padding: 16px 2px 16px 0;
    }
    .band-concerts .band-concert.no-place {
        grid-template-areas: "date name status social";
    }
    /* No town but a time: the time still gets its own line above the name */
    .band-concerts .band-concert.no-place:has(.band-concert-place-time) {
        grid-template-areas:
            "date place status social"
            "date name  status social";
    }
    .band-concerts .band-concert.no-place:has(.band-concert-place-time) .band-concert-place { display: block; }
    .band-concerts .band-concert.no-place:has(.band-concert-place-time) .band-concert-name { align-self: start; }
    .band-concert-date { font-size: 16px; }
    .band-concert-place { font-size: 14px; align-self: end; }
    .band-concert-name {
        font-size: 12.5px;
        line-height: 1.3;
        letter-spacing: .2px;
        align-self: start;
    }
    .band-concert-time { display: none; }
    .band-concert-place-time { display: inline; white-space: nowrap; font-weight: 400; color: var(--bc-silver); }
    .band-concert-place-time { font-family: var(--bc-time-font); font-size: 12.5px; }
    .band-concert-sep { font-family: var(--bc-body-font); }   /* the dash in the town's font, the time stays mono */
    .band-concert-status { font-size: 14px; white-space: nowrap; }
    /* Cancelled on phones: ZRUŠENO stays on the right on the red line, but floats over the row
       instead of taking a column, so the name keeps its full width and doesn't wrap because of it. */
    .band-concerts .band-concert.is-cancelled .band-concert-status {
        position: absolute;
        grid-area: auto;
        left: auto;
        right: 36px;            /* just left of the Facebook icon */
        top: 50%;
        transform: translateY(-50%);
        padding: 0 0 0 8px;
        background: var(--bc-bg);
    }
    .band-concerts .band-concert-facebook { width: 24px; height: 24px; }
}



















