/* ===========================
   Mstax-Farbox
   =========================== */



.mstax-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
  padding: 1rem;
}

.mstax-box {
  background: #fff;
  border: solid white 1px;
  border-radius: 4px;

  display: flex;
  flex-direction: column;

  width: 250px;
  height: auto;
  margin: 0 auto;

  cursor: none;

  transition:
    transform .25s ease,
    box-shadow .25s ease;

  box-shadow:
    0 9.545px 12.727px 0 rgba(0,0,0,.25);
}




.mstax-cover {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}



.mstax-album {
  font-size: 1.6rem;
  font-weight: 400;
  color: #111;
  margin-bottom: 0.7rem;
}

.mstax-artist {
  font-size: 1.4rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 1.2rem;
  margin-top: 0.7rem;
}

.mstax-origin_country {
  font-size: 1.4rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 1.2rem;
  margin-top: 0.7rem;
}

.mstax-artist a,
.mstax-artist-link {
  color: #000; 
  text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-skip-ink: auto;

}

.mstax-artist a:hover,
.mstax-artist-link:hover {
  color: #4A4A4A; 
	 text-decoration: none;

}


.mstax-code {
  font-size: 2rem;       
  font-weight: 600;      
  color: #000;          
  margin: 0.9rem 0;      
  letter-spacing: 0.06em;
  text-transform: uppercase; 
  text-align: left; 
}



.mstax-code .mstax-num {
    animation: mstax-live-glow 4s ease-in-out infinite;
}

@keyframes mstax-live-glow {
    0%, 100% {
        color: #111;
    }

    50% {
        color: #888;
    }
}

.mstax-dash {
  margin: 0.1rem;
  letter-spacing: 0;
}

.mstax-artist-link a {
  font-size: 2.2rem;       
  font-weight: 600;      
  color: #000;          
  margin: 0.9rem 0;      
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left; 
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-skip-ink: auto;
  
}

.mstax-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* drei gleich breite Spalten */
  align-items: center;
  margin-bottom: 2.5rem;
}

.mstax-profil-meta-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  margin-bottom: 2.5rem;
}

.mstax-profil-meta-row > :first-child {
  text-align: left;
}

.mstax-profil-meta-row > :last-child {
  text-align: right;
}

.mstax-covertype,
.mstax-releaseyear,
.mstax-year-rank,
.mstax-new {
  font-size: 1.20rem;
  text-transform: none;
  color: #4A4A4A;
}

.mstax-covertype   { justify-self: start;  font-weight: 300; }
.mstax-new         { justify-self: center; font-weight: 600; } /* fett */
.mstax-releaseyear { justify-self: end;    font-weight: 300; }
.mstax-year-rank  { justify-self: end;    font-weight: 600; }

.mstax-colorprofile{
    flex:1;
	border:none !important;
}

.mstax-colorprofile > div{
    margin:0 !important;
}

.ms-album-color-bar{
    display:flex;
    height:14px;
    overflow:hidden;
}

.ms-album-color-segment{
    height:100%;
}

.mstax-swatch {
  width: 100%;
  aspect-ratio: 1/1;

  border: 0;
  border-radius: 4px 4px 0 0;
  overflow: hidden;

  position: relative;
  background-color: var(--stimmungsfarbe, var(--albumfarbe, #ccc));
}

.mstax-swatch img {
  position: absolute; /* neu */
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.mstax-new-badge {
  background-color: var(--stimmungsfarbe, #ccc);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-block;
  line-height: 1;
}

.mstax-info {
  padding: 1.0rem;
  text-align: left;
}

.mstax-desc {
  color: #111;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
  font-weight: 400;
}

.mstax-name {
  color: #111;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}


/* Media Query für kleine Bildschirme */
@media (max-width: 700px) {
  .mstax-grid {
    grid-template-columns: repeat(2, 1fr); /* fix 2 Spalten */
    padding: 1rem; /* Abstand zum Rand beibehalten */
  }

  .mstax-info {
    min-height: 60px;
  }
}




.mstax-code [data-tooltip] {
  position: relative;
  cursor: none;
  pointer-events: auto
}





/* ===========================
   TOOLTIP-BOX
   =========================== */

.mstax-code [data-tooltip] {
  position: relative;
  cursor: none; /* kein Fragezeichen mehr */
}

/* Tooltip-Box */
.mstax-code [data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 9999;
}



/* sichtbar bei Hover */
.mstax-code [data-tooltip]:hover::after {
  opacity: 1;
}






/* -------------------------------------------------------------------------------- */
/*	XIII. Stimmungsskala & Farbskala & Momente
/* -------------------------------------------------------------------------------- */


.stimmung-und-albumfarbe-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}


/* ========== Section SLIDER ========== */

.mstax-slider-section {

  text-align: left;
	padding: 4rem 0 4rem;

}

.section-title {
  padding: 3rem 2rem 0;
  color: white;
  font-size: 4rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-subline {
    font-size: 1.3rem;
    line-height: 1.8;
	padding: 1rem 2rem;
	text-align: center;
 
}

.section-subline-artists {
    font-size: 1.3rem;
    line-height: 1.8;
	padding: 1rem 2rem;
	text-align: left;
	color: white;
 
}


/* Swiper Wrapper nur für Artists */
.artist-mstax-swiper .swiper-wrapper {
  display: flex;
}

.artist-mstax-swiper {
  width: 100%;           /* volle Breite */
  margin: 0;             /* bündig links und rechts */
  padding-left: 20px;       /* keine Einrückung links */
  padding-right: 30px;   /* rechts etwas Luft */
  padding-bottom: 20px; 
  overflow: hidden;
  position: relative;
}

.artist-mstax-swiper .swiper-slide {
  flex: 0 0 auto;        /* Slides nebeneinander */
  width: 260px;          /* feste Breite */
}

.artist-mstax-swiper .mstax-box {
  margin: 0;
}

.artist-mstax-swiper .swiper-slide,
.mstax-box {
  overflow: visible !important;
}



/* ========== Slider Albums Section ========== */


.albums-section {
    padding: 4rem 0 3rem;
}



.albums-section .album-einordnung {
    font-size: clamp(1.3rem, 1.4vw, 1.125rem);
  line-height: 1.7;

  text-align: center;
  max-width: 75ch;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.albums-section .section-heading-black {
    text-align: center;
}


@media (max-width: 480px) {

.section-title {
   font-size: 3rem;
 	}
}	
	
	
@media (max-width: 768px) {

  .mstax-nearby-swiper {
    padding-left: 20px;
    padding-right: 0;
  }
	
  .mstax-slider-section {

  text-align: center;
	padding: 2rem 0 2rem;

}


  .section-subline {
    display: block;
    text-align: center;
  }


.section-title {
	text-align: center;
  padding: 3rem 0 0;

}
}
/* Nur Frontpage-Heldbereich mittig auf Bildschirmhöhe */
.front-hero-slider {
  min-height: 93vh;           /* zuverlässiger als 100vh auf iOS */
  display: flex;
  align-items: center;          /* vertikal zentriert */
  justify-content: center;      /* horizontal zentriert */
  margin: 0;
  padding: 0;
}

/* Der eigentliche Slider-Block soll keine eigenen Außenabstände erzwingen */
.front-hero-slider .artist-mstax-slider-section {
  margin: 0;                    /* überschreibt dein 40px bottom nur hier */
  width: 100%;
}

/* Falls du die H2 mittig haben möchtest */
.front-hero-slider .artist-section-title {
  text-align: center;
  margin-bottom: 2rem;
}




/* ===========================
   Artist/Konzept-Box 
   =========================== */

.artist-mstax-wrapper .mstax-swatch,
.conceptbox .mstax-swatch,
.related-artists-slider .mstax-swatch {
  display: flex;
  flex-direction: column;
  background-color: transparent !important;
}




.artist-stimmungs-balken {
  position: relative;
  width: 100%;
  background-color: var(--stimmungsfarbe, #ccc);
}

.artist-stimmungs-balken-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
}


.artist-mstax-wrapper .mstax-album {
  margin-bottom: 1.1rem;
}


.mstax-dreiklang {
  font-size: 1.6rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 0.7rem;
}


/* ============================================================
   OVERRIDE NUR FÜR STIMMUNGSPAGE
   ============================================================ */




/* 2er-Grid */
.stimmungen-page .mstax-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 620px;
    margin: 0 auto;
}

/* Meta-Row: nur 2 Spalten */
.stimmungen-page .mstax-meta-row {
    grid-template-columns: 1fr auto !important;
}

/* mittlere Spalte ausblenden */
.stimmungen-page .mstax-new {
    display: none !important;
}


.albumfarbe-page .moodbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 620px;
    margin: 0 auto;
}

.albumfarbe-page .moodbox-grid .mstax-meta-row {
    display: grid;
    grid-template-columns: 1fr auto;
}

.albumfarbe-page .moodbox-grid .mstax-new {
    display: none;
}