 :root {
   --card-bg: rgba(255, 255, 255, 0.8);
   --card-radius: 18px;
   --accent: #222;
   --shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
   --pad: 24px;
   --max-width: 1100px;
 }

 @font-face {
   font-family: Starkwalker;
   src: url("font/Starkwalker.otf") format("opentype");
 }

 html,
 body {
   height: 100%;
   margin: 0;
   font-family: "Starkwalker", "Segoe UI", Roboto, Arial, sans-serif;
   color: var(--accent);
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
 }

 /* background: replace the url with your own image */
 .page {
   min-height: 100%;
   background-image: url('images/background.jpg');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   display: flex;
   align-items: flex-start;
   justify-content: center;
   padding: 48px 20px;
   box-sizing: border-box;
 }

 .stage {
   width: 100%;
   max-width: var(--max-width);
   display: grid;
   grid-template-columns: 1fr 360px;
   gap: 28px;
   position: relative;
   align-items: start;
   margin-top:60px;
 }

 /* Left column stack */
 .left {
   display: flex;
   flex-direction: column;
   gap: 50px;
   align-self: stretch;
 }

 /* shared card styles */
 .card {
   background: var(--card-bg);
   border-radius: var(--card-radius);
   box-shadow: var(--shadow);
   padding: var(--pad);
   box-sizing: border-box;
   min-width: 0;
 }

 h2 {
   margin: 0 0 12px 0;
   font-weight: 600;
   font-size: 20px;
   color: var(--accent);
 }

 /* internal editable content area */
 .editable {
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 /* Visual list inside Upcoming Performances */
 .perf-list {
   margin: 0;
   padding: 0;
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 8px;
 }

 .perf-item {
   display: flex;
   font-size: 15px;
   width: 100%;
 }

 .perf-item .date {
   font-weight: 600;
 }

 .perf-item .place {
   opacity: 0.85;
   text-align: right;
 }

 .perf-item .dots {
  width: 100%;
  height: 1em; /* very important */
  background: radial-gradient(circle at 50% 0.8em, #999 8%, transparent 8%);
  background-size: 0.5em;
  background-repeat: repeat-x;
 }

/* .perf-item .dots:after {
  content: '...........................................................';
} */

 /* Right column */
 .right {
   display: flex;
   flex-direction: column;
   gap: 20px;
   align-items: stretch;
 }

 .patreon-card {
   display: flex;
   flex-direction: column;
   gap: 12px;
   align-items: center;
   justify-content: center;
   text-align: center;
   padding: 18px;
 }

 .btn {
   display: inline-block;
   padding: 10px 18px;
   border-radius: 12px;
   background: #ff6a5a;
   color: white;
   font-weight: 600;
   text-decoration: none;
   cursor: pointer;
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
 }

 /* small header text */
 .title-row {
   width: 100%;
   text-align: center;
   position: absolute;
   color: black;
   margin-top: 20px;
 }

 .site-title {
   font-size: 50px;
   font-weight: 700;
 }

 /* Newsletter input styles */
 .testimonial-input {
   padding: 8px 12px;
   border: 1px solid rgba(0, 0, 0, 0.2);
   border-radius: 8px;
   font-size: 16px;
   margin: 4px 0 8px 0px;
   width: 100%;
   transition: border-color 0.2s, box-shadow 0.2s;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 /* Newsletter input styles */
 .newsletter-input {
   padding: 8px 12px;
   border: 1px solid rgba(0, 0, 0, 0.2);
   border-radius: 8px;
   font-size: 16px;
   margin: 4px 0 8px 8px;
   width: 220px;
   transition: border-color 0.2s, box-shadow 0.2s;
 }

 .newsletter-input:focus {
   outline: none;
   border-color: #5ac8ff;
   box-shadow: 0 0 0 2px rgba(90, 244, 255, 0.2);
 }

 .newsletter-submit {
   margin-top: 16px;
   width: 100%;
   background: #5ac8ff;
   transition: background-color 0.2s, transform 0.1s;
   border: 1px solid darkgray;
 }

 .newsletter-submit:hover {
   background: #48b5ef;
 }

 .newsletter-submit:active {
   transform: translateY(1px);
 }

.youtubeIframe {
    width: 100%;
    aspect-ratio: 16 / 9;
   }

 /* responsive adjustments */
 @media (max-width:960px) {
   .stage {
     grid-template-columns: 1fr;
   }

   .right {
     order: 1;
   }
 }

 .login-container {
  margin: 50px;
 }

/* Slideshow styles */
.slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.slides {
  position: relative;
  width: 100%;
  height: 500px;
}
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  opacity: 0;
  transition: opacity 550ms ease;
}
.slide.active {
  display: block;
  opacity: 1;
}
.sl-prev, .sl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sl-prev { left: 12px; }
.sl-next { right: 12px; }
.sl-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 20px;
}
.sl-controls { display: flex; gap: 8px; }
.sl-play, .sl-pause {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  background: white;
  cursor: pointer;
}
.sl-indicators {
  display: flex;
  gap: 6px;
  align-items: center;
}
.sl-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.25);
  cursor: pointer;
}
.sl-indicators button[aria-selected="true"] {
  background: #ff6a5a;
}

/* Make testimonial card a positioning context for slideshow-style buttons */
.testimonial-card {
  position: relative;
}

.testimonial-card .sl-prev,
.testimonial-card .sl-next {
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width:640px) {
  .slides { height: 180px; }
}