/* juliste.css – vain juliste.php käyttöön, EI vaikuta index.php:hen */
body { background: #ffe7cb; margin:0; padding:0; }
.poster-main { width:100vw; min-height:100vh; background: #fff; box-shadow:0 0 32px rgba(120,60,20,0.10); position:relative; overflow:hidden; }
.poster-header { width:100%; position:relative; text-align:center; background:#fff; }
.radio-header-img { width:100%; max-width:100%; height:auto; display:block; }
.poster-date-on-radio { position:absolute; left:0; right:0; top:54%; width:100%; text-align:center; font-weight:900; text-transform:uppercase; pointer-events:none; }
.poster-section { display: flex; flex-direction: row; justify-content: space-between; align-items: stretch; gap: 3vw; width: 100%; max-width: 100%; margin: 0 auto 0 auto; box-sizing: border-box; }
.poster-col { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; min-height: 0; box-sizing: border-box; }
.artist-img { width:100%; max-width:420px; border-radius:18px; box-shadow:0 4px 32px #b85c1e22; margin-bottom:1.2em; }
.artist-name { font-size:2.2rem; font-family: var(--font-otsikko, 'Bebas Neue', Arial, sans-serif); color: var(--color-otsikko, #b85c1e); font-weight: 700; letter-spacing: 0.01em; margin-bottom:0.2em; text-shadow:0 2px 8px #fff8; }
.artist-name.highlight { font-size: 2.8rem; color: var(--color-highlight, #ff7a00); }
.artist-day { font-size:1.3rem; font-family:var(--font-paiva, 'Roboto Slab', serif); color:#b85c1e; font-weight:700; margin-bottom:0.5em; }
.artist-desc { font-size:1.2rem; color:#774415; font-family: var(--font-desc, 'Roboto', Arial, sans-serif); margin-bottom:0.7em; }
.poster-tickets { position: relative; z-index: 2; margin: 2.5em auto 2.2em auto; padding: 1.5em 2.2em 1.2em 2.2em; max-width: 600px; width: 90%; background: rgba(255,255,255,0.82); backdrop-filter: blur(7px) saturate(1.1); -webkit-backdrop-filter: blur(7px) saturate(1.1); border-radius: 1.2em; box-shadow: 0 4px 32px #b85c1e22; }
.poster-qr { margin:1.5em auto 0 auto; text-align:center; }
.poster-sponsors { position: relative; z-index: 2; background: none !important; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2em 2em; padding: 1.2em 1.5em 1.2em 1.5em; }
.poster-sponsors img { max-height:60px; max-width:180px; margin:0.5em 1em; filter:drop-shadow(0 2px 8px #b85c1e22); background:#fff; border-radius:8px; padding:0.3em 0.7em; }
.poster-footer { background: none !important; color: #fffbe7; text-align: center; font-weight: bold; font-size: 2.1rem; padding: 1.5em 0 2.5em 0; box-shadow: none; z-index: 2; text-shadow: 0 2px 12px #000a, 0 1px 4px #0008; max-width: 1100px; margin: 2.5em auto 0 auto; }
.poster-size-menu { position:fixed; top:0; left:0; width:100vw; background:#fffbe9; border-bottom:2px solid #ffe066; z-index:999; padding:0.5em 0; text-align:center; font-size:1.1rem; display:block; }
.poster-size-menu a { color:#b85c1e; margin:0 1.2em; text-decoration:none; font-weight:700; }
.poster-size-menu a.active { color:#774415; text-decoration:underline; }
@media print { .poster-size-menu { display:none !important; } }

/* Poistettu kaikki muut versiot ja fonttivaihtoehdot kuin v1 ja fontset-a */
.poster-main.v1 {
  background: linear-gradient(180deg,#fffbe7 0%,#ffe066 40%,#ffb347 80%,#ff7e5f 100%);
}
.poster-main:not(.v1) { display: none !important; }
.fontset-a .artist-name, .fontset-a .poster-tickets h3 { font-family:'Bebas Neue',Arial,sans-serif; }
.fontset-a .artist-day, .fontset-a .poster-tickets p { font-family:'Roboto Slab',serif; }
.fontset-a .artist-desc, .fontset-a .poster-footer { font-family:'Roboto',Arial,sans-serif; }
.fontset-b, .fontset-c { display: none !important; }

/* Poistettu v2 ja v3 taustat, headerit ja muut versioiden erot */
/* Poistettu fontset-b ja fontset-c typografiat kokonaan */

/* Poistettu muut julistekoot ja niihin liittyvät tyylit, jätetty vain responsiivisuus A3/A4/A4-mobiiliin */

/* Kaikki muut media queryt ja tyylit jätetty ennalleen, koska ne tukevat A3/A4 ja mobiili/print-näkymiä. */

/* --- Responsiivisuus ja tulostus --- */
@media (max-width: 900px) {
  .poster-section, .poster-v1-section {
    flex-direction: column;
    gap: 2vw;
  }
  .poster-col {
    margin: 0 0 1.5em 0;
  }
  .poster-lisat {
    flex-direction: row;
    gap: 0.7em;
  }
}
@media print {
  .poster-size-menu { display:none !important; }
}

/* --- Alaosan taustakuva ja rakenne --- */
.poster-bottom-bg {
  position: relative;
  width: 100%;
  min-height: 33vh;
  flex: 1 1 33%;
  background: url('img/2021lava2.webp') no-repeat top center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 1;
}
.poster-bottom-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.poster-tickets-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2em;
  width: 100%;
  min-height: 320px;
}
.poster-tickets-info, .poster-tickets {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  flex: 1 1 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(7px) saturate(1.1);
  -webkit-backdrop-filter: blur(7px) saturate(1.1);
  border-radius: 1.2em;
  box-shadow: 0 4px 32px #b85c1e22;
  padding: 2em 2.2em 2em 2.2em;
  font-size: 1.15rem;
  color: #774415;
  height: 100%;
  box-sizing: border-box;
}
.poster-tickets-info {
  background: none;
  box-shadow: none;
  padding: 0;
}
.poster-tickets-info-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.poster-tickets-info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  border-radius: 1.2em;
  box-shadow: 0 4px 32px #b85c1e22;
  padding: 1.1em 0.7em 0.8em 0.7em;
  min-width: 120px;
  margin-bottom: 0.7em;
}
.poster-tickets-info-block:last-child {
  margin-bottom: 0;
}
.poster-tickets-info-title {
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
}
.poster-tickets-info-title:contains('K18'),
.poster-tickets-info-block:last-child .poster-tickets-info-title {
  font-size: 3.2rem;
  color: #b85c1e;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px #fff8, 0 1px 4px #b85c1e44;
}
.poster-tickets-info-sub {
  font-size: 1.35rem;
  text-align: center;
}
.poster-tickets h3 {
  font-size: 2.5rem;
  margin-bottom: 0.7em;
}
.poster-tickets p {
  font-size: 1.25rem;
}
.poster-tickets {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 32px #b85c1e22;
  border-radius: 1.2em;
  padding: 2em 2.2em 2em 2.2em;
  /* Poistetaan blur ja saturate kokonaan */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.poster-tickets-info {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
@media (max-width: 900px) {
  .poster-tickets-row {
    flex-direction: column;
    gap: 1em;
    min-height: 0;
  }
  .poster-tickets-info, .poster-tickets {
    min-width: 0;
    width: 100%;
    margin: 0 0 1em 0;
  }
  .poster-tickets-info-inner {
    flex-direction: column;
    gap: 0.7em;
  }
  .poster-tickets-info-block {
    min-width: 0;
    width: 100%;
  }
  .poster-tickets-info, .poster-tickets {
    font-size: 1.08rem;
  }
  .poster-tickets-info-title {
    font-size: 2.1rem;
  }
  .poster-tickets-info-title:contains('K18'),
  .poster-tickets-info-block:last-child .poster-tickets-info-title {
    font-size: 2.5rem;
  }
  .poster-tickets-info-sub {
    font-size: 1.08rem;
  }
  .poster-tickets h3 {
    font-size: 1.6rem;
  }
  .poster-tickets p {
    font-size: 1.08rem;
  }
}
@media print {
  .poster-tickets-info, .poster-tickets {
    box-shadow: none !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Skaalataan julisteen sisältöä isommaksi ja kasvatetaan välejä */
.poster-main, .poster-section, .poster-v1-section {
  font-size: 1.18em;
}
.poster-section, .poster-v1-section {
  min-height: 600px;
  gap: 6vw;
}
.poster-col {
  padding: 0 3vw;
}
.artist-day {
  font-size: 2.5rem;
  margin-bottom: 1.5em;
}
.artist-name {
  font-size: 3.2rem;
  margin-bottom: 0.7em;
}
.artist-name.highlight {
  font-size: 4.2rem;
}
.artist-desc {
  font-size: 1.7rem;
  margin-bottom: 1.5em;
}
.artist-img {
  max-width: 620px;
  margin-bottom: 1.7em;
}
.poster-lisat {
  margin-top: 1.7em;
  gap: 2.5em;
}
.poster-lisat-artist {
  width: 54%;
}
.poster-lisat-img {
  max-width: 180px;
}
.poster-lisat-name {
  font-size: 1.5rem;
}
.poster-tickets-row {
  gap: 4em;
}
.poster-tickets-info, .poster-tickets {
  font-size: 1.45rem;
  padding: 2.5em 2.8em 2.5em 2.8em;
}
.poster-tickets-info-title {
  font-size: 3.2rem;
}
.poster-tickets-info-title:contains('K18'),
.poster-tickets-info-block:last-child .poster-tickets-info-title {
  font-size: 3.7rem;
}
.poster-tickets-info-sub {
  font-size: 1.7rem;
}
.poster-tickets h3 {
  font-size: 2.9rem;
}
.poster-tickets p {
  font-size: 1.45rem;
}
.poster-tickets-link {
  font-size: 1.25rem;
}
@media (max-width: 900px) {
  .poster-section, .poster-v1-section {
    min-height: 0;
    gap: 2vw;
  }
  .artist-day {
    font-size: 1.5rem;
  }
  .artist-name {
    font-size: 1.7rem;
  }
  .artist-name.highlight {
    font-size: 2.3rem;
  }
  .artist-desc {
    font-size: 1.08rem;
  }
  .artist-img {
    max-width: 100%;
    margin-bottom: 0.7em;
  }
  .poster-lisat {
    gap: 0.7em;
  }
  .poster-lisat-artist {
    width: 100%;
  }
  .poster-lisat-img {
    max-width: 100px;
  }
  .poster-lisat-name {
    font-size: 1.08rem;
  }
  .poster-tickets-row {
    gap: 1.2em;
  }
  .poster-tickets-info, .poster-tickets {
    font-size: 1.08rem;
    padding: 1.2em 0.7em 1.2em 0.7em;
  }
  .poster-tickets-info-title {
    font-size: 2.1rem;
  }
  .poster-tickets-info-title:contains('K18'),
  .poster-tickets-info-block:last-child .poster-tickets-info-title {
    font-size: 2.5rem;
  }
  .poster-tickets-info-sub {
    font-size: 1.08rem;
  }
  .poster-tickets h3 {
    font-size: 1.6rem;
  }
  .poster-tickets p {
    font-size: 1.08rem;
  }
  .poster-tickets-link {
    font-size: 1rem;
  }
}

/*
 * Julisteen artistiosion kolmen lohkon viimeistely: mittasuhteet, marginaalit, responsiivisuus, typografia
 */
.poster-artists-3col {
  display: flex;
  flex-direction: row;
  gap: 4vw;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 3vw;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.poster-artist-left, .poster-artist-center, .poster-artist-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  box-shadow: none;
  padding: 0 1vw;
}
.poster-artist-left {
  flex: 1.1 1 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5vw;
}
.poster-artist-left picture {
  max-width: 44%;
  min-width: 120px;
}
.poster-artist-left .artist-img {
  max-width: 260px;
  min-width: 100px;
  border-radius: 0.7em;
  margin-bottom: 0;
}
.poster-artist-left .artist-texts {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5em;
}
.poster-artist-center {
  flex: 1.2 1 0;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.5em;
}
.poster-artist-center .artist-img {
  max-width: 340px;
  min-width: 120px;
  border-radius: 0.7em;
}
.poster-artist-right {
  flex: 0.8 1 0;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5em;
}
.poster-lisat-artist {
  width: 100%;
  max-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
}
.poster-lisat-img {
  width: 100%;
  max-width: 120px;
  min-width: 60px;
  border-radius: 0.7em;
  margin-bottom: 0.2em;
}
.poster-lisat-name {
  font-size: 1.1rem;
  text-align: center;
  margin-top: 0.1em;
}

/* Typografia ja marginaalit artistiosion otsikoille ja kuvauksille */
.artist-day {
  font-size: 1.5rem;
  color: #b85c1e;
  font-weight: 700;
  margin-bottom: 0.2em;
}
.artist-name {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.2em;
  text-shadow: 0 2px 8px #fff8;
}
.artist-name.highlight {
  font-size: 2.7rem;
  color: #ff7a00;
}
.artist-desc {
  font-size: 1.15rem;
  color: #774415;
  margin-bottom: 0.5em;
}

/* Suuremmat fontit ja marginaalit isolla näytöllä */
@media (min-width: 1100px) {
  .artist-day { font-size: 2.1rem; }
  .artist-name { font-size: 2.7rem; }
  .artist-name.highlight { font-size: 3.5rem; }
  .artist-desc { font-size: 1.35rem; }
  .poster-artist-center .artist-img { max-width: 420px; }
  .poster-artist-left .artist-img { max-width: 320px; }
}

/* Responsiivisuus: pinotaan lohkot allekkain mobiilissa */
@media (max-width: 900px) {
  .poster-artists-3col {
    flex-direction: column;
    gap: 2vw;
    margin-bottom: 2vw;
    max-width: 98vw;
  }
  .poster-artist-left, .poster-artist-center, .poster-artist-right {
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    padding: 0 0.5vw;
    margin-bottom: 1.2em;
  }
  .poster-artist-left {
    flex-direction: column;
    align-items: center;
    gap: 0.7em;
  }
  .poster-artist-left picture, .poster-artist-center .artist-img {
    max-width: 90vw;
  }
  .poster-artist-right {
    flex-direction: row;
    gap: 1.2em;
    justify-content: center;
  }
  .poster-lisat-artist {
    max-width: 100px;
  }
  .poster-lisat-img {
    max-width: 80px;
  }
}
@media (max-width: 600px) {
  .poster-artists-3col {
    gap: 1vw;
    margin-bottom: 1vw;
  }
  .artist-day { font-size: 1.1rem; }
  .artist-name { font-size: 1.3rem; }
  .artist-name.highlight { font-size: 1.7rem; }
  .artist-desc { font-size: 0.98rem; }
  .poster-artist-center .artist-img, .poster-artist-left .artist-img {
    max-width: 98vw;
  }
}
@media print {
  .poster-artists-3col, .poster-artist-left, .poster-artist-center, .poster-artist-right {
    box-shadow: none !important;
    background: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    color: #2d1600 !important;
  }
  .artist-name, .artist-name.highlight, .artist-day, .artist-desc {
    color: #2d1600 !important;
    text-shadow: none !important;
  }
}

/* Kaikki artistiosion otsikot mustalla */
.artist-day,
.artist-name,
.artist-name.highlight {
  color: #111 !important;
  text-shadow: none !important;
}
@media print {
  .artist-day, .artist-name, .artist-name.highlight {
    color: #111 !important;
    text-shadow: none !important;
  }
}
.poster-artist-left .artist-img,
.poster-artist-center .artist-img {
  width: 100%;
  height: auto;
  max-width: 420px;
  min-width: 120px;
  object-fit: contain;
  border-radius: 0.7em;
  margin-bottom: 0;
  box-shadow: 0 4px 32px #b85c1e22;
}
.poster-artist-left picture,
.poster-artist-center picture {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 420px;
}
.poster-artist-left .artist-texts,
.poster-artist-center .artist-texts {
  width: 100%;
  margin-top: 1.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3em;
}

/* Artistiosion tekstien fonttikoot pienemmiksi, pikkubändien otsikot ennallaan */
.artist-day {
  font-size: 1.1rem;
}
.artist-name {
  font-size: 1.5rem;
}
.artist-name.highlight {
  font-size: 1.9rem;
}
.artist-desc {
  font-size: 0.98rem;
}
@media (min-width: 1100px) {
  .artist-day { font-size: 1.4rem; }
  .artist-name { font-size: 1.9rem; }
  .artist-name.highlight { font-size: 2.3rem; }
  .artist-desc { font-size: 1.1rem; }
}
@media (max-width: 900px) {
  .artist-day { font-size: 0.9rem; }
  .artist-name { font-size: 1.1rem; }
  .artist-name.highlight { font-size: 1.3rem; }
  .artist-desc { font-size: 0.85rem; }
}
@media (max-width: 600px) {
  .artist-day { font-size: 0.7rem; }
  .artist-name { font-size: 0.9rem; }
  .artist-name.highlight { font-size: 1.1rem; }
  .artist-desc { font-size: 0.7rem; }
}

/* Sponsorilogot isommiksi ja keskitetty neljän logon rivi */
#sponsors {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3vw;
  flex-wrap: wrap;
  margin-bottom: 1.5em;
}
#sponsors a, #sponsors picture {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1vw;
}
#sponsors img {
  max-height: 90px;
  max-width: 220px;
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 10px;
  padding: 0.5em 1.2em;
  box-shadow: 0 2px 12px #b85c1e22;
}
@media (max-width: 900px) {
  #sponsors {
    flex-direction: column;
    gap: 1.2em;
  }
  #sponsors img {
    max-height: 60px;
    max-width: 140px;
    padding: 0.3em 0.7em;
  }
}
