/* MÖLINÄ Records FINAL 2026 */
*{box-sizing:border-box}
:root{
  --fg:#eeeeee;
  --muted:rgba(238,238,238,.76);
  --soft:rgba(238,238,238,.56);
  --line:rgba(255,255,255,.18);
  --panel:rgba(0,0,0,.58);
  --panel2:rgba(0,0,0,.72);
  --serif:Georgia,"Times New Roman",serif;
  --sans:system-ui,-apple-system,Segoe UI,Arial,sans-serif;
}
html,body{min-height:100%;scroll-behavior:smooth}
body{margin:0;background:#000;color:var(--fg);font-family:var(--sans);line-height:1.5}
img,video{max-width:100%;display:block}
a{color:inherit}
.albumHeader{position:sticky;top:0;z-index:100;background:#000;border-bottom:1px solid var(--line)}
.albumHeader img{width:100%;max-height:145px;object-fit:contain;background:#000}
.albumNav{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;padding:10px 14px 12px;background:#000}
.albumNav a{font-family:var(--serif);text-transform:uppercase;letter-spacing:.12em;font-size:13px;text-decoration:none;padding:8px 11px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.06)}
.albumNav a.active,.albumNav a:hover{background:rgba(255,255,255,.18)}
.artistHero{width:100%;max-height:420px;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.15);background:#000}
.artistHero img{width:100%;height:100%;max-height:420px;object-fit:cover;object-position:center;opacity:.9}

.page{
  min-height:100vh;
  padding:22px;
  background:
    radial-gradient(circle at 50% 18%,rgba(70,70,70,.10),rgba(0,0,0,.88) 62%),
    linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.52),rgba(0,0,0,.82)),
    var(--bg, url('/assets/img/album-1.jpg')) center/cover fixed no-repeat;
}
.intro,.panel{
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--panel);
  backdrop-filter:blur(6px);
  box-shadow:0 22px 70px rgba(0,0,0,.45);
}
.intro{max-width:1580px;margin:0 auto 18px;padding:18px}
h1,h2,h3{font-family:var(--serif);margin:0 0 10px;line-height:1.1;text-shadow:0 2px 12px rgba(0,0,0,.8)}
h1{font-size:clamp(32px,4vw,58px)}
h2{font-size:clamp(23px,2.2vw,34px)}
h3{font-size:20px}
p{margin:0 0 10px;color:var(--muted)}
.small{font-size:13px;color:var(--soft)}
ul{margin:8px 0 0;padding-left:18px;color:var(--muted)}
li{margin:6px 0}
.divider{height:1px;background:var(--line);margin:14px 0}

.grid2,.grid3{max-width:1580px;margin:0 auto;display:grid;gap:18px;align-items:start}
.grid2{grid-template-columns:1fr 1.35fr}
.grid3{grid-template-columns:1fr 1.18fr 1fr}
.panel{min-width:0;overflow:hidden;padding:18px}
.panel.clean{padding:0}
.panelHead{padding:16px 16px 2px}
.panelBody{padding:16px}
.panelImage{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#000;margin:0 0 14px}
.panelImage img{width:100%;height:300px;object-fit:cover}
.logoImage{width:100%;max-width:380px;margin:0 auto 14px}
.fitImg{width:100%;max-width:400px;border-radius:18px;border:1px solid var(--line);margin:0 auto 14px}
.product{border:1px solid var(--line);border-radius:18px;padding:14px;background:rgba(0,0,0,.34);margin-bottom:14px}
.productTop{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
.productImg{width:150px;max-width:100%;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#000;flex:0 0 auto}
.productImg img{width:100%;height:auto}
.productMeta{flex:1;min-width:220px}
.badges{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.badge{font-size:12px;padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.08);color:rgba(238,238,238,.86)}
.btnRow,.productActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.btn,button.btn{border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.12);color:#eee;padding:10px 13px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.btn.ghost{background:rgba(0,0,0,.25)}
.btn:hover{background:rgba(255,255,255,.20)}
.videoBox,.embed{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#000;margin:10px 0}
.videoBox iframe{width:100%;aspect-ratio:16/9;border:0;display:block}
.embed iframe{width:100%;border:0;display:block}
form{display:grid;gap:10px}
input,select,textarea{width:100%;padding:11px;border-radius:12px;border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.42);color:#eee}
textarea{min-height:150px}
.contactLinks{display:flex;flex-direction:column;gap:10px}
.contactLinks a{text-decoration:none;padding:11px;border-radius:12px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12)}
.contactLinks a:hover{background:rgba(255,255,255,.18)}
.footerNote{padding:14px;text-align:center;background:#000;color:rgba(238,238,238,.65);border-top:1px solid var(--line);font-size:13px}

/* Galleria */
.galleryPanels{max-width:1580px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;align-items:start}
.carousel{position:relative}
.slide{display:none;margin:0;background:#000}
.slide.active{display:block}
.slide img,.slide video{width:100%;height:440px;object-fit:contain;background:#000}
.slide figcaption{min-height:96px;padding:13px 14px;color:var(--muted);font-size:14px;background:rgba(0,0,0,.82);border-top:1px solid var(--line)}
.slide figcaption strong{color:#fff;font-family:var(--serif);font-size:17px}
.slide figcaption span{color:var(--soft);font-size:12px}
.lyricSlide figcaption{white-space:pre-line}
.controls{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px;background:rgba(0,0,0,.55)}
.counter{text-align:center;font-size:13px;color:var(--muted)}
.dots{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;padding:0 12px 12px;background:rgba(0,0,0,.55)}
.dot{width:7px;height:7px;border-radius:999px;border:0;padding:0;background:rgba(255,255,255,.28)}
.dot.active{background:#fff}
.errorNote{display:none;padding:12px 14px;color:#ffb3b3;background:rgba(90,0,0,.35);border-top:1px solid rgba(255,0,0,.20);font-size:13px}
.errorNote.show{display:block}

@media(max-width:1150px){
  .grid2,.grid3,.galleryPanels{grid-template-columns:1fr}
  .slide img,.slide video{height:auto;max-height:none}
}
@media(max-width:640px){
  .page{padding:14px;background-attachment:scroll}
  .albumHeader img{max-height:118px}
  .albumNav a{font-size:11px;letter-spacing:.09em;padding:7px 9px}
  .artistHero{max-height:300px}
  .artistHero img{max-height:300px}
  .productTop{display:block}
  .productImg{width:100%;margin-bottom:12px}
}
.panelImage {
  width: 100%;
  height: 260px; /* säädä jos haluat isomman */
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}

.panelImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* 🔥 TÄRKEIN FIX */
  object-position: top center;
}
.panelImage {
  width: 100%;
  aspect-ratio: 4/3; /* parempi sommittelu */
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}
.panelImage {
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}