/*
Theme Name: KIMULTI-Records
Theme URI: https://schmidtking.de/
Author: SchmidtKing.de
Author URI: https://schmidtking.de/
Description: Offizielles KIMULTI-Records Theme von SchmidtKing.de. Dark/Gold Premium Design mit integriertem Audio Player, Releases, Kommende Mixe & Booking System. Optimiert für Performance, SEO und DSGVO.
Version: 1.5.0
License: GPLv2 or later
Text Domain: kimulti-records
*/

/* Spam honeypot field (hidden from users) */
.cot-hp{position:absolute !important;left:-9999px !important;top:-9999px !important;height:1px !important;width:1px !important;overflow:hidden !important;opacity:0 !important;pointer-events:none !important;}

:root{
  --bg:#05060a;
  --panel:rgba(10,12,18,.72);
  --panel2:rgba(10,12,18,.86);
  --text:#f2f4ff;
  --muted:rgba(242,244,255,.72);
  --gold:#d9b15f;
  --gold2:#a87933;
  --line:rgba(217,177,95,.22);
  --shadow:0 18px 60px rgba(0,0,0,.55);
  --radius:18px;
  --radius2:22px;
  --max:1400px;

  --hero-desktop:url('assets/hero-desktop.jpg');
  --hero-tablet:url('assets/hero-tablet.jpg');
  --hero-mobile:url('assets/hero-mobile.jpg');
  --section-bg:url('assets/section-bg.jpg');
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html,body{overflow-x:hidden}

/* Accessibility helper: hide text visually while keeping it readable for screen readers */
.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.95}
img{max-width:100%;height:auto}

/* ===== Smart Scroll Toggle (Up/Down) ===== */
.cot-scroll-toggle{
  position:fixed;
  right:18px;
  bottom:calc(var(--cot-player-offset, 0px) + 18px);
  z-index:999;
  width:46px;
  height:46px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(217,177,95,.55);
  background:rgba(10,12,18,.78);
  backdrop-filter:blur(10px);
  box-shadow:0 16px 40px rgba(0,0,0,.55), 0 0 0 0 rgba(217,177,95,0);
  cursor:pointer;
  transform:translateY(10px);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.cot-scroll-toggle.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.cot-scroll-toggle:hover{
  border-color:rgba(217,177,95,.85);
  box-shadow:0 18px 50px rgba(0,0,0,.6), 0 0 28px rgba(217,177,95,.24);
}
.cot-scroll-toggle:focus-visible{
  outline:none;
  box-shadow:0 18px 50px rgba(0,0,0,.6), 0 0 0 4px rgba(217,177,95,.22), 0 0 34px rgba(217,177,95,.28);
}
.cot-scroll-ico{
  width:18px;
  height:18px;
  fill:var(--gold);
  opacity:.96;
}
.cot-scroll-toggle[data-dir="up"] .cot-scroll-ico--down{display:none;}
.cot-scroll-toggle[data-dir="down"] .cot-scroll-ico--up{display:none;}

@media (max-width: 520px){
  .cot-scroll-toggle{right:14px;bottom:calc(var(--cot-player-offset, 0px) + 14px);width:46px;height:46px;}
}

@media (prefers-reduced-motion: reduce){
  .cot-scroll-toggle{transition:none;}
}

.container{width:min(var(--max),calc(100% - 40px));margin:0 auto}

/* ===== Header ===== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(5,6,10,.62);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  /* Extra bottom space so the logo/header doesn't sit too close to the hero image */
  gap:18px; padding:var(--cot-header-pad-top, 18px) 0 var(--cot-header-pad-bottom, 26px);
}

.brand{display:flex;align-items:center;gap:14px;min-width:240px}
.brand .logo-wrap{
  width:auto;
  height:var(--cot-logo-size, 92px);
  max-width:min(320px, 32vw);
  /* Logo ohne runden "Badge" (kein Kreis/Umrandung) */
  border-radius:0;
  overflow:visible;
  background:transparent;
  border:none;
  box-shadow:none;
  display:flex;align-items:center;justify-content:flex-start;
  flex:0 0 auto;
}
.brand .logo-wrap img{
  display:block;
  width:auto;
  height:100%;
  max-width:100%;
  object-fit:contain;
}
.brand .title{font-weight:900;letter-spacing:.2px;color:var(--cot-site-title-color, rgba(242,244,255,.92));}
.brand .tag{font-size:12px;color:var(--muted);margin-top:2px}

.nav{display:flex;align-items:center;gap:18px}

/* Ensure WP menus never show default list markers ("Punkte") */
.nav-list{
  list-style:none;
  display:flex;
  align-items:center;
  gap:18px;
  margin:0;
  padding:0;
}
.nav-list li{list-style:none;margin:0;padding:0}
.nav-list li::marker{content:''}
.nav a{
  font-size:14px;color:rgba(242,244,255,.90);
  padding:8px 10px;border-radius:12px;
}
.nav a:hover{background:rgba(217,177,95,.10);border:1px solid rgba(217,177,95,.18)}

.header-actions{display:flex;align-items:center;gap:10px}

/* Social icons (header + mobile) */
.cot-social{
  display:flex;
  align-items:center;
  gap:10px;
}
.cot-social a{
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.cot-social a:hover{
  transform: translateY(-1px);
  border-color: rgba(217,177,95,.35);
  background: rgba(217,177,95,.10);
}
.cot-social svg{ width:18px; height:18px; fill: rgba(242,244,255,.92); }

@media (max-width: 720px){
  .cot-social a{ width:38px; height:38px; }
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:10px 14px;border-radius:999px;
  border:1px solid rgba(217,177,95,.30);
  background:linear-gradient(180deg, rgba(217,177,95,.24), rgba(217,177,95,.08));
  box-shadow:0 12px 26px rgba(0,0,0,.25);
  font-weight:800;font-size:14px;
}
.btn:hover{transform:translateY(-1px)}
.btn.secondary{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
}
.btn.small{padding:8px 12px;font-size:13px}

.menu-toggle{
  display:none;
  width:44px;height:44px;border-radius:14px;
  /* Mobile: Button soll sich optisch in den dunklen Header einfügen
     (kein auffälliges graues Feld), aber trotzdem klar sichtbar sein. */
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.18);
  color:var(--text);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:none;
  -webkit-tap-highlight-color:transparent;
}
.menu-toggle svg{width:22px;height:22px}
.mobile-drawer{
  position:fixed; inset:0; z-index:80;
  background:rgba(0,0,0,.55);
  display:block;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  /* Mobile menu: slower, smoother slide-in */
  transition:opacity var(--cot-mobile-overlay-speed, 1.2s) ease-in-out,
             visibility 0s linear var(--cot-mobile-overlay-speed, 1.2s);
}
.mobile-drawer.is-open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity var(--cot-mobile-overlay-speed, 1.2s) ease-in-out}
.mobile-panel{
  position:absolute; top:0; left:0;right:auto; height:100%; width:min(360px, 88vw);
  background:rgba(7,8,12,.92);
  border-right:1px solid rgba(255,255,255,.08);
  border-left:none;
  backdrop-filter:blur(16px);
  padding:18px;
  transform:translateX(-18px);
  opacity:0;
  transition:transform var(--cot-mobile-menu-speed, 1.8s) ease-in-out,
             opacity var(--cot-mobile-overlay-speed, 1.2s) ease-in-out;
}
.mobile-drawer.is-open .mobile-panel{transform:translateX(0);opacity:1}

@media (prefers-reduced-motion: reduce){
  .mobile-drawer, .mobile-panel{transition-duration:0.01ms !important;}
}

.cot-mobile-menu-logo{
  display:flex;
  justify-content:center;
  align-items:center;
    padding: var(--cot-mm-logo-pad, 12px) 6px 10px;
}
.cot-mobile-menu-logo img{
  /* keep the drawer logo visually lighter on mobile */
    width: min(var(--cot-mm-logo-w, 115px), 60vw);
  height:auto;
  display:block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.55));
  opacity:.96;
}

.mobile-nav-list{list-style:none;margin:0;padding:0}
.mobile-nav-list li{list-style:none;margin:0;padding:0}
.mobile-nav-list li::marker{content:''}
.mobile-nav a{
  display:block; padding:12px 12px; margin:6px 0;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
}
.mobile-nav a:hover{border-color:rgba(217,177,95,.30);background:rgba(217,177,95,.10)}
.mobile-actions{margin-top:14px}
.mobile-actions .cot-social{width:100%;justify-content:center;gap:10px;flex-wrap:wrap}
.mobile-actions .cot-social a{width:40px;height:40px;border-radius:14px}

@media (max-width:420px){
  .mobile-panel{padding:16px}
  .mobile-nav a{padding:12px 12px; border-radius:16px}
  .mobile-actions .cot-social a{width:38px;height:38px;border-radius:14px}
}

/* ===== Hero ===== */
.hero{
  position:relative;
  min-height: var(--cot-hero-h-desktop, 740px);
  border-bottom:1px solid rgba(217,177,95,.30);
  overflow:hidden;
	/* Hero image is rendered as real HTML (<picture>) for better LCP on mobile */
	background-image:none;
}

/* Tablet uses its own asset but keeps desktop focus unless you want otherwise */
@media (max-width:1100px){
  .hero{
    min-height: calc(var(--cot-hero-h-desktop, 740px) - 80px);
		background-image:none;
  }
}

/* Mobile (9:16) */
@media (max-width:820px){
  .hero{
    min-height: var(--cot-hero-h-mobile, 560px);
		background-image:none;
  }
}

/* The real hero image (LCP) */
.hero-media{position:absolute; inset:0; z-index:0;}
.hero-media img{width:100%; height:100%; object-fit:cover; object-position: var(--cot-hero-pos-desktop, center 44%); display:block;}

@media (max-width:820px){
  .hero-media img{object-position: var(--cot-hero-pos-mobile, center top);}
}

.hero::before{
  content:""; position:absolute; inset:0;
  /* Customizer controlled */
  background: var(--cot-hero-overlay);
	z-index:1;
}
.hero::after{
  content:""; position:absolute; inset:0;
  /* Premium subtle glow FX (doesn't dim colors too much) */
  background: var(--cot-hero-glow);
  pointer-events:none;
	z-index:1;
}

.hero-inner{position:relative; z-index:2; padding: 170px 0 120px; text-align:center}
@media (max-width:1100px){ .hero-inner{padding:145px 0 105px} }
@media (max-width:820px){ .hero-inner{padding:120px 0 90px} }

.hero-title{
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  letter-spacing:.08em;
  font-weight:900;
  text-transform:uppercase;
  font-size: clamp(42px, 5.0vw, 92px);
  margin:0 0 18px;
  text-shadow:0 16px 46px rgba(0,0,0,.60);
}
.hero-title .of{
  font-size:.55em;
  letter-spacing:.22em;
  margin:0 22px;
  display:inline-block;
  opacity:.92;
}
@media (max-width:520px){ .hero-title .of{margin:0 12px} }

.hero-card{
  width:min(980px, 92%);
  margin: 0 auto;
  padding: 26px 22px 22px;
  border-radius: var(--radius2);
  background: rgba(8,10,14,.58);
  border:1px solid rgba(217,177,95,.26);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.hero-cta{margin-top:18px}
.btn-gold{
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(217,177,95,1), rgba(168,121,51,1));
  color:#111;
  box-shadow:0 12px 34px rgba(217,177,95,.18);
  padding:14px 22px;
}
.btn-outline{
  border:1px solid rgba(217,177,95,.60);
  background:rgba(0,0,0,.18);
  padding:14px 22px;
}

/* ===== Sections ===== */
.section{
  position:relative;
  padding: 64px 0;
  border-top:1px solid rgba(217,177,95,.14);
  overflow:hidden;
}
.section::before{
  content:""; position:absolute; inset:-18%;
  background-image:var(--section-bg);
  background-size:cover; background-position:center;
  opacity:.26;
  filter:saturate(1.06);
  transform: scale(1.05);
}
.section::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(5,6,10,.88), rgba(5,6,10,.92));
}
.section > .container{position:relative; z-index:1}
.section-title{
  position:relative;
  text-align:center;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin:0 0 28px;
  font-size: var(--cot-mixes-title-size, 28px);
  color: var(--cot-mixes-title-color, rgba(255,255,255,0.92));
  text-shadow: 0 0 14px rgba(217,177,95,0.35), 0 2px 18px rgba(0,0,0,0.55);
}
.section-title::after{
  content:"";
  display:block;
  width:min(560px, 72%);
  height:2px;
  margin:14px auto 0;
  background: linear-gradient(90deg, rgba(217,177,95,0), rgba(217,177,95,0.75), rgba(217,177,95,0));
  border-radius:999px;
  box-shadow: 0 0 18px rgba(217,177,95,0.25);
}

.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media (max-width:980px){ .grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:720px){ .grid{grid-template-columns:1fr} }

.card{
  position:relative;
  background: rgba(10,12,18,.74);
  border:1px solid rgba(217,177,95,.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Klickbare Karten (z.B. Mixes-Übersicht) */
.card.is-clickable > a.card-link{
  position:absolute;
  inset:0;
  z-index:2;
  text-indent:-9999px;
  overflow:hidden;
  border-radius: inherit;
}
.card.is-clickable .content{position:relative; z-index:1}
.card.is-clickable .media{position:relative; z-index:1}

.card:hover{
  transform: translateY(-4px);
}

.card .media-link{display:block;text-decoration:none}
.card .media{
  position: relative;
  overflow: hidden;
  height: 210px;
  background:
    linear-gradient(180deg,
      rgba(0,0,0, calc(0.25 * var(--cot-card-ov, 1))),
      rgba(0,0,0, calc(0.82 * var(--cot-card-ov, 1)))
    ),
    var(--cot-card-img, url('assets/card-placeholder.jpg'));
  background-size:cover;
  background-position:center;
  transition: transform .35s ease, filter .35s ease;
}

/* When we have a real <img>, prefer it over CSS background for better responsive loading */
.card .media.has-img{
  background: none;
}
.card .media.has-img::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
      rgba(0,0,0, calc(0.25 * var(--cot-card-ov, 1))),
      rgba(0,0,0, calc(0.82 * var(--cot-card-ov, 1)))
    );
  pointer-events:none;
}
.card .media .media-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


.card:hover .media-link .media{
  transform: scale(1.04);
  filter: saturate(1.08) brightness(1.06);
}

.card:hover .media{
  transform: scale(1.04);
  filter: saturate(1.08) brightness(1.05);
}
.card .content{
  padding:14px 14px 16px;
  /* Abstand zwischen Bildbereich (oben) und Textblock steuerbar */
  padding-top: var(--cot-mix-gap, 14px);
}
@media (max-width: 768px){
  .card .content{ padding-top: var(--cot-mix-gap-mobile, 0px); }
}
.card h3{margin:0 0 6px;font-size:16px}
.card p{margin:0;color:rgba(242,244,255,.78);font-size:13px}
.meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.badge{
  font-size:12px;padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:rgba(242,244,255,.90);
}
.badge.gold{border-color:rgba(217,177,95,.24);background:rgba(217,177,95,.10)}
.card .actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}

.split{display:grid;grid-template-columns: 1.1fr .9fr; gap:18px}
@media (max-width:980px){ .split{grid-template-columns:1fr} }

.panel{
  background: rgba(10,12,18,.74);
  border:1px solid rgba(217,177,95,.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
  backdrop-filter: blur(6px);
}

.event-row{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.event-row:last-child{border-bottom:0}
.date-pill{
  width:64px; min-width:64px;
  border-radius:14px;
  border:1px solid rgba(217,177,95,.24);
  background:rgba(217,177,95,.10);
  text-align:center;
  padding:10px 8px;
}
.date-pill .d{font-weight:900;font-size:18px}
.date-pill .m{font-size:12px;opacity:.9}
.date-pill .y{font-size:11px;opacity:.75;margin-top:2px}
.event-row .event-title{margin:0;font-size:15px;font-weight:600}
.event-row .sub{color:var(--muted);font-size:13px;margin-top:3px}

.form{display:grid;gap:10px}
.form input,.form textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:var(--text);
  outline:none;
}
.form textarea{min-height:120px;resize:vertical}

/* Kontakt-Formular Statusmeldungen */
.cot-alert{
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s ease;
}
.cot-alert.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.cot-alert--success{
  border-color: rgba(46, 204, 113, .25);
  background: rgba(46, 204, 113, .08);
}
.cot-alert--error{
  border-color: rgba(231, 76, 60, .25);
  background: rgba(231, 76, 60, .08);
}

/* Kontakt-Formular: Feldfehler (mobile-friendly) */
.cot-field-error{
  outline: 2px solid rgba(231, 76, 60, .75) !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, .15), 0 12px 26px rgba(0,0,0,.35) !important;
  animation: cotShake .35s ease;
}

@keyframes cotShake{
  0%{transform:translateX(0)}
  25%{transform:translateX(-6px)}
  50%{transform:translateX(6px)}
  75%{transform:translateX(-4px)}
  100%{transform:translateX(0)}
}

/* Kontakt-Formular: Premium Success UX */
.cot-contact-fields{
  max-height: 520px;
  overflow: hidden;
  transition: max-height .55s ease, opacity .45s ease, transform .55s ease;
}
.cot-contact-fields.is-collapsed{
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.cot-contact-btn{
  position: relative;
  transition: transform .2s ease, box-shadow .35s ease, background .35s ease, border-color .35s ease, filter .35s ease;
}
.cot-contact-btn.is-loading{
  filter: brightness(1.05);
}
.cot-contact-btn.is-success{
  background: linear-gradient(180deg, rgba(46,204,113,.95), rgba(34, 180, 96, .95));
  border-color: rgba(46,204,113,.55) !important;
  box-shadow: 0 0 0 1px rgba(46,204,113,.25), 0 12px 32px rgba(46,204,113,.18), 0 0 28px rgba(217,177,95,.22);
  transform: translateY(-1px);
}
.cot-contact-btn.is-success::after{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 0 22px rgba(217,177,95,.35);
  opacity: .9;
}
.cot-consent{margin-top:6px}
.cot-consent__label{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.cot-consent__checkbox{margin-top:3px;accent-color: rgba(217,177,95,.95)}
.cot-consent__label span{font-size:13px;color: rgba(242,244,255,.78);line-height:1.35}
.cot-consent__label a{color: rgba(217,177,95,.95);text-decoration:none;border-bottom:1px dashed rgba(217,177,95,.55)}
.cot-consent__label a:hover{color:#fff;border-bottom-color: rgba(217,177,95,.85)}
.form small{color:var(--muted)}

.site-footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding: 28px 0;
  color: rgba(242,244,255,.78);
}
.footer-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
/* Footer menu */
.footer-nav{margin-top:10px}
.footer-nav .footer-menu{list-style:none;margin:0;padding:0;display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.footer-nav .footer-menu li{margin:0;padding:0}
.footer-nav .footer-menu a{
  color: rgba(242,244,255,.78);
  font-size: 13px;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display:inline-block;
}
.footer-nav .footer-menu a:hover{
  border-color: rgba(217,177,95,.28);
  background: rgba(217,177,95,.10);
  color: #fff;
}

.social{display:flex;gap:10px;flex-wrap:wrap}
.social a{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
}
.social a:hover{border-color:rgba(217,177,95,.28);background:rgba(217,177,95,.10)}

/* WP basics */
.wp-block{max-width:100%}

/* Limit mix card excerpt to exactly 2 lines (home + mixes archive) */
.cot-clamp-2{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Limit mix card subtitle to 1 line */
.cot-clamp-1{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Mix card meta (Release-Datum / Tempo / Dauer) */
.cot-mix-meta{
  margin-top:8px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:6px 12px;
  font-size:12.5px;
  line-height:1.25;
  color:rgba(255,255,255,.78);
  letter-spacing:.03em;
}

.cot-mix-meta__item{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  white-space:nowrap;
}

.cot-mix-meta__label{
  color:#f0c114;
  font-weight:600;
  letter-spacing:.02em;
}

.cot-mix-meta__unit{
  color:rgba(255,255,255,.78);
  font-weight:500;
}

/* On small screens, let items wrap more naturally */
@media (max-width: 520px){
  .cot-mix-meta{
    justify-content:flex-start;
  }
  .cot-mix-meta__item{
    white-space:normal;
  }
}
/* Fallback if line-clamp isn't supported */
@supports not (-webkit-line-clamp: 2){
  .cot-clamp-2{
    line-height:1.45;
    max-height:calc(2 * 1.45em);
    overflow:hidden;
  }
}

/*
  Safety: disable legacy hero overlay blocks (older preview builds).
  User requested the big centered hero box to be removed entirely.
*/
.hero-card,
.hero-title,
.hero-cta{
  display:none !important;
}

/* Mobile header: use burger + drawer (slides in from right) */
@media (max-width: 920px){
  /* extra bottom padding so the logo doesn't sit too close to the hero */
  .header-inner{padding:var(--cot-header-pad-top-mobile, 16px) 0 var(--cot-header-pad-bottom-mobile, 28px);}
  /* Hide header social row on mobile (social links are inside the drawer) */
  .header-actions .cot-social{display:none !important;}

  .nav{display:none !important;}
  .header-actions{gap:8px}
  .header-actions .btn{display:none !important;}
  .menu-toggle{display:inline-flex !important;}
  .brand .logo{width:56px;height:56px}
}


@media (max-width: 920px){
  .brand .logo-wrap{
    /* Mobile should still react to the Customizer slider.
       Keep a soft upper limit so wide logos do not break the menu. */
    height:min(var(--cot-logo-size, 92px), 110px);
    max-width:56vw;
  }
  .brand .logo-wrap img{height:100%;width:auto;}
}

/* About panel portrait layout (Customizer) */
.cot-about-layout{
  display:flex;
  gap:24px;
  align-items:flex-start;
}
.cot-about-layout.cot-about-pos-left{ flex-direction:row-reverse; }
/* Desktop centered option */
.cot-about-layout.cot-about-pos-center{ flex-direction:column; align-items:center; text-align:center; }
.cot-about-layout.cot-about-pos-center .cot-about-text{ width:100%; }
.cot-about-text{ flex:1 1 auto; min-width:0; }
.cot-about-portrait{ flex:0 0 auto; }
.cot-about-portrait img{
  display:block;
  width:var(--cot-about-portrait-size, 160px);
  max-width:220px;
  height:auto;
  border-radius:16px;
  box-shadow:0 12px 40px rgba(0,0,0,.45);
  border:1px solid rgba(166,154,111,.35);
}
@media (max-width: 800px){
  .cot-about-layout{ flex-direction:column; align-items: var(--cot-about-align-mobile, center); text-align: var(--cot-about-textalign-mobile, center); }
  .cot-about-layout.cot-about-pos-left{ flex-direction:column; }
  .cot-about-layout.cot-about-pos-center{ flex-direction:column; }
  .cot-about-portrait img{ width:min(var(--cot-about-portrait-size, 160px), 55vw); }
  /* Mobile: portrait should appear above text/button */
  .cot-about-portrait{ order:-1; }
}

/* Kommende Mixe panel portrait layout (Customizer) */
.cot-events-layout{
  display:flex;
  gap:24px;
  align-items:flex-start;
}
.cot-events-layout.cot-events-pos-left{ flex-direction:row-reverse; }
/* Desktop centered option */
.cot-events-layout.cot-events-pos-center{ flex-direction:column; align-items:center; text-align:center; }
.cot-events-layout.cot-events-pos-center .cot-events-text{ width:100%; }
.cot-events-text{ flex:1 1 auto; min-width:0; }
.cot-events-portrait{ flex:0 0 auto; }
.cot-events-portrait img{
  display:block;
  width:var(--cot-events-portrait-size, 160px);
  max-width:220px;
  height:auto;
  border-radius:16px;
  box-shadow:0 12px 40px rgba(0,0,0,.45);
  border:1px solid rgba(166,154,111,.35);
}
@media (max-width: 800px){
  .cot-events-layout{ flex-direction:column; align-items: var(--cot-events-align-mobile, center); text-align: var(--cot-events-textalign-mobile, center); }
  .cot-events-layout.cot-events-pos-left{ flex-direction:column; }
  .cot-events-layout.cot-events-pos-center{ flex-direction:column; }
  .cot-events-portrait img{ width:min(var(--cot-events-portrait-size, 160px), 55vw); }
  /* Mobile: portrait should appear above list/button */
  .cot-events-portrait{ order:-1; }
}


/* =========================================================
   Release Grid (Shortcode: [cot_release_grid])
   ========================================================= */
.cot-release{margin:32px 0;}
.cot-release__filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 0 18px;}
.cot-release__filter{appearance:none;background:rgba(255,255,255,.06);border:1px solid rgba(217,177,95,.22);color:inherit;padding:10px 14px;border-radius:999px;font-weight:700;letter-spacing:.02em;cursor:pointer;line-height:1;transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;}
.cot-release__filter:hover{transform:translateY(-1px);border-color:rgba(217,177,95,.45);box-shadow:0 8px 22px rgba(0,0,0,.35);}
.cot-release__filter.is-active{background:rgba(217,177,95,.16);border-color:rgba(217,177,95,.7);box-shadow:0 10px 28px rgba(217,177,95,.14), 0 8px 22px rgba(0,0,0,.35);}

.cot-release__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
@media (max-width: 980px){.cot-release__grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 560px){.cot-release__grid{grid-template-columns:1fr;}}

.cot-release__item{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:18px;overflow:hidden;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.cot-release__item:hover{transform:translateY(-3px);border-color:rgba(217,177,95,.55);box-shadow:0 0 34px rgba(217,177,95,.18), 0 16px 40px rgba(0,0,0,.35);}

.cot-release__cover{display:block;position:relative;aspect-ratio:1/1;}
.cot-release__cover img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.05);}
.cot-release__meta{padding:14px 14px 16px; padding-top: var(--cot-mix-gap, 14px);}
@media (max-width: 768px){
  .cot-release__meta{ padding-top: var(--cot-mix-gap-mobile, 0px); }
}
.cot-release__title{font-weight:800;font-size:16px;line-height:1.3;margin:0 0 6px;}
.cot-release__title a{text-decoration:none;color:inherit;}
.cot-release__sub{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px;opacity:.88;}
.cot-release__actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap;}

/* Buttons fallback (theme already has buttons; this is safe) */
.cot-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;font-weight:700;text-decoration:none;border:1px solid rgba(255,255,255,.14);transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;color:inherit;}
.cot-btn:hover{transform:translateY(-1px);}
.cot-btn--primary{background:rgba(217,177,95,.2);border-color:rgba(217,177,95,.55);}
.cot-btn--primary:hover{box-shadow:0 0 18px rgba(217,177,95,.25);}
.cot-btn--ghost{background:transparent;border-color:rgba(255,255,255,.18);}
.cot-btn--ghost:hover{border-color:rgba(217,177,95,.55);box-shadow:0 0 18px rgba(217,177,95,.18);}


/* Player playlist: keep title + sub neatly in ONE text column */
.cot-player__track-info{min-width:0;}
.cot-player__track-sub{
  display:block;
  font-size:12px;
  opacity:.72;
  margin-top:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}


/* ===== Mobile: cover/vinyl (artwork) centered in cards/panels ===== */
@media (max-width: 768px){
  /* common wrappers (safe no-op if not present) */
  .cot-media-pair,
  .cot-mix-art,
  .cot-mix-media,
  .mix-art,
  .mix-media,
  .cot-card-art,
  .cot-card-media,
  .cot-upcoming-art,
  .cot-upcoming-media{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
  }

  /* when artwork is two items side-by-side, center the row */
  .cot-media-pair.is-row,
  .cot-media-pair.row,
  .cot-mix-art.is-row,
  .mix-art.is-row{
    flex-direction:row;
    justify-content:center;
    gap:14px;
  }

  /* images / svg / canvases inside those wrappers */
  .cot-media-pair img,
  .cot-mix-art img,
  .cot-mix-media img,
  .mix-art img,
  .mix-media img,
  .cot-card-art img,
  .cot-card-media img,
  .cot-upcoming-art img,
  .cot-upcoming-media img{
    margin-left:auto;
    margin-right:auto;
    display:block;
  }

  /* if the vinyl/second artwork is an element (not img) */
  .cot-media-pair > *{
    margin-left:auto;
    margin-right:auto;
  }
}



/* ===== Layout settings: artwork alignment (Customizer) =====
   IMPORTANT: Do NOT turn .card .media-link into flex.
   Some cards use a background-image DIV without explicit width.
   Flex would shrink it to 0 → images disappear.
*/
/* If a template uses a dedicated wrapper for TWO artworks, this stays safe */
.cot-media-pair{
  display:flex;
  justify-content: var(--cot-mix-art-justify, flex-start);
  align-items:center;
  gap:14px;
}
@media (max-width: 768px){
  .cot-media-pair{ justify-content: var(--cot-mix-art-justify-mobile, center); }
}



.card .content {
    margin-top: 0 !important;
}

/* Desktop controlled only by variable */
.card .content {
    padding-top: var(--cot-mix-gap, 14px);
}

/* Mobile can go to 0px without limitation */
@media (max-width: 768px) {
    .card .content {
        padding-top: var(--cot-mix-gap-mobile, 0px);
    }
}


/* ===== Footer layout: make meta block (yellow text) come after links/social on mobile ===== */
.footer-left{order:2;min-width:260px;flex:1}
.footer-right{order:1;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.footer-brand{font-weight:900}
.footer-desc{color:rgba(242,244,255,.72);font-size:13px;margin-top:4px}
.footer-meta{color:rgba(242,244,255,.60);font-size:12px;margin-top:10px}

/* Improve spacing for menu pills + social icons (red) */
.footer-nav{margin-top:0}
.footer-nav .footer-menu{gap:12px}
.social{gap:12px}

/* Desktop: keep brand block on the left and links on the right */
@media (min-width: 769px){
  .footer-left{order:1}
  .footer-right{order:2;align-items:flex-end}
}

/* Mobile: center the red block and avoid items being too close */
@media (max-width: 768px){
  .footer-right{align-items:center}
  .footer-nav .footer-menu{justify-content:center}
  .social{justify-content:center}
  .footer-left{text-align:center}
}





/* ===== Footer: yellow meta block must be LEFT aligned on mobile ===== */
@media (max-width: 768px){
  .site-footer .footer-left{
    text-align: left !important;
    width: 100%;
  }
  .site-footer .footer-left .footer-brand,
  .site-footer .footer-left .footer-desc,
  .site-footer .footer-left .footer-meta{
    text-align: left !important;
  }
}

/* =============================
   Guest Rating (5 stars)
   ============================= */
.cot-rating{
  margin-top: 10px;
  position: relative;
  z-index: 3; /* above .card-link overlay */
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.cot-rating__stars{
  position:relative;
  display:inline-flex;
  align-items:center;
  line-height:1;
  min-height:48px; /* single tap target area */
}

/* Visual stars (not clickable individually; click target is .cot-rating__open) */
.cot-rating__vis{
  display:block;
  font-size:18px;
  letter-spacing:2px;
  line-height:48px;
  color: rgba(217,177,95,.35);
}

/* Single, large tap/click target to satisfy Lighthouse on ALL viewports */
.cot-rating__open{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
}
.cot-rating__open[disabled]{
  cursor:default;
  opacity:.85;
}

/* Gold fill layer (based on avg) */
.cot-rating__fill{
  position:absolute;
  left:0;
  top:0;
  height:100%;
  overflow:hidden;
  pointer-events:none;
}
.cot-rating__fill::before{
  content:"★★★★★";
  display:block;
  font-size:18px;
  letter-spacing:2px;
  line-height:48px;
  color: rgba(217,177,95,.95);
}

/* Put the fill behind the buttons but visible */
.cot-rating__stars{ padding-right:2px; }
.cot-rating__stars .cot-rating__open{ z-index:3; }
.cot-rating__stars .cot-rating__vis{ z-index:2; position:relative; }
.cot-rating__stars .cot-rating__fill{ z-index:1; }

.cot-rating__meta{
  font-size:12px;
  color: rgba(242,244,255,.78);
  white-space:nowrap;
}
.cot-rating__avg{ font-weight:700; color: rgba(242,244,255,.92); }
.cot-rating__sep{ margin:0 6px; opacity:.6; }

/* Make sure rating area can be clicked on clickable cards */
.card.is-clickable .cot-rating,
.card.is-clickable .cot-rating *{
  pointer-events:auto;
}


/* --- Rating modal (two-step confirm) --- */
html.cot-rating-modal-open,
html.cot-rating-modal-open body{
  overflow:hidden;
}

.cot-rating-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
}
.cot-rating-modal[aria-hidden="false"]{ display:block; }

.cot-rating-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.65);
}

.cot-rating-modal__panel{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width:min(92vw, 380px);
  background: rgba(12,14,20,.98);
  border: 1px solid rgba(217,177,95,.25);
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.cot-rating-modal__title{
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 4px;
  color: rgba(242,244,255,.95);
}

.cot-rating-modal__sub{
  font-size: 13px;
  color: rgba(242,244,255,.75);
  margin-bottom: 12px;
}

.cot-rating-modal__stars{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin: 10px 0 14px;
}

.cot-rating-modal__star{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background: transparent;
  cursor:pointer;
  font-size: 34px;
  line-height: 1;
  min-width: 48px;
  min-height: 48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 0;
  color: rgba(217,177,95,.35);
}
.cot-rating-modal__star.is-on{ color: rgba(217,177,95,.98); }
.cot-rating-modal.is-busy .cot-rating-modal__star{ opacity:.7; cursor:default; }

.cot-rating-modal__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 10px;
}

.cot-rating-modal__btn{
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,.15);
  cursor:pointer;
}

.cot-rating-modal__btn[disabled]{
  opacity:.65;
  cursor:default;
}

.cot-rating-modal__btn--ghost{
  background: rgba(255,255,255,.06);
  color: rgba(242,244,255,.9);
}

.cot-rating-modal__btn--primary{
  background: rgba(217,177,95,.18);
  border-color: rgba(217,177,95,.35);
  color: rgba(242,244,255,.95);
}

.cot-rating-modal__note{
  margin-top: 10px;
  font-size: 11px;
  color: rgba(242,244,255,.62);
}

/* Mobile font-size fix for single mix page */
@media (max-width: 768px){
  .single-cot_mix .panel > h1,
  .single-cot_mix article.panel > h1,
  .single-cot_mix .container article.panel > h1{
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    word-break: break-word;
  }

  .single-cot_mix article.panel > div[style*="font-size:13px"]{
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .single-cot_mix .entry-content,
  .single-cot_mix .entry-content p,
  .single-cot_mix .entry-content li{
    font-size: 16px;
    line-height: 1.6;
  }
}
