h1, .h1, h2, .h2, h3, .h3 { margin-top: 0px; text-align: center;}
.section h3 { color: #ffcb0e;font-size: 1.5em;}
#event-order { position: relative; width: 100%; height: auto;  }
#event-order.confirmation { font-size: 1.4em; line-height: 1.5em; }
#event-order button, #event-order input, #event-order select, #event-order textarea { display: block; padding: 0em 1em; border-radius: 5px; margin: 0.3em auto; width: 100%; height: 3em; line-height: 3em; color: rgb(25, 25, 25); background-color: rgb(255,255,255); font-weight: bold; font-size: 1em; border: 0; /*-webkit-appearance: none;*/ }
#event-order .event-header { width: 100%; height: auto; background-color: rgb(237, 30, 38); color: rgb(255, 255, 255); padding: 1.2em 1em 1em 1em; text-align: center; display: inline-block;  }
.event-header h1 { /*float: left;*/ line-height: 1em; }
.event-header h2 { /*float: left;*/ line-height: 1.5em; margin-left: 20px; }
#event-order .event-content { width: 100%; height: auto; color: rgb(255, 255, 255); padding: 1em 1em 2em 1em; background: radial-gradient( #006fb4, #1d3f78); }
#event-order .section { padding: 0.5em 1em; clear: both; text-align: center; }
#event-order .total { font-size: 2em;}
#event-order .section-contact { background-image: url(/wp-content/themes/fossetts-circus/hatching.png); background-size: cover; height: auto; display: inline-block; width: 100%; border: 10px solid transparent; -webkit-border-image: url(/wp-content/themes/fossetts-circus/stroke-border.png) 23 round; /* Safari 3.1-5 */ -o-border-image: url(/wp-content/themes/fossetts-circus/stroke-border.png) 23 round; /* Opera 11-12.1 */ border-image: url(/wp-content/themes/fossetts-circus/stroke-border.png) 23 round; }
#event-order .section-event { background-image: url(/wp-content/themes/fossetts-circus/hatching.png); background-size: cover; height: auto; display: inline-block; width: 100%; border: 10px solid transparent; -webkit-border-image: url(/wp-content/themes/fossetts-circus/stroke-border.png) 23 round; /* Safari 3.1-5 */ -o-border-image: url(/wp-content/themes/fossetts-circus/stroke-border.png) 23 round; /* Opera 11-12.1 */ border-image: url(/wp-content/themes/fossetts-circus/stroke-border.png) 23 round; }
#event-order .section-payment { background-image: url(/wp-content/themes/fossetts-circus/hatching.png); background-size: cover; height: auto; display: inline-block; width: 100%; border: 10px solid transparent; -webkit-border-image: url(/wp-content/themes/fossetts-circus/stroke-border.png) 23 round; /* Safari 3.1-5 */ -o-border-image: url(/wp-content/themes/fossetts-circus/stroke-border.png) 23 round; /* Opera 11-12.1 */ border-image: url(/wp-content/themes/fossetts-circus/stroke-border.png) 23 round; }
#event-order .section-payment #payment-fields { display: block; padding: 1em; border-radius: 5px; margin: 1em auto; width: 100%; height: 3em; color: rgb(66, 109, 143); background-color: rgb(255,255,255); font-weight: bold; }
#event-order .section-payment .voucher { margin: 0.72em auto; }
#event-order .section-payment .voucher .warning-voucher { background-color: rgb(237, 30, 38); color: white; margin-top: 1em; }
#event-order .section-payment .voucher .success-voucher { background-color: rgb(30, 187, 38); color: white; margin-top: 1em; }
#event-order .section-info { }
#event-order .section-separator { width: 70%; height: 1px; margin: 1px auto; /*background-color: rgb(255, 255, 255);*/ }
#event-order  hr {    border: none;}
#event-order .order-submit { background-color: rgb(237, 30, 38); color: rgb(255, 255, 255); border-radius: 0px; font-size: 2em; padding: 0 0 0 0; margin: 0; }
#event-order .order-submit:disabled { background-color: rgba(237, 30, 38,0.5); }
#event-order .warning { display: none; clear: both; }
#event-order .form-errors, #event-order .warning { color: rgb(255, 255, 255); background-color: rgb(237, 30, 38); font-weight: bold; padding: 0.5em; }



@media (max-width: 480px) {
  .poster-inner {
    padding: 20px;
  }
  
  .event-title {
    font-size: 1.8rem;
  }
  
  .date-day {
    font-size: 1.8rem;
  }
  
  .event-date-col {
    min-width: 120px;
    padding: 10px;
  }
  
  .section-container.slider {
    height: 250px;
  }
  
  .master-shield {
    max-width: 330px;
  }
}




@media only screen and (min-width: 768px) {
#event-order .input-wrapper-1 { display: block; width: 100%; padding: 0em 1em; float: left;
}
#event-order .input-wrapper-2 { display: block; width: 50%; padding: 0em 1em; float: left; }
#event-order .input-wrapper-3 { display: block; width: 33.3333%; padding: 0em 1em; float: left; }
}
@media only screen and (max-width: 768px) {
#event-order .event-header { text-align: center; }
}

/* Header and Navigation Styles */
.site-header {
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  z-index: 999;
  /* background: rgba(255, 255, 255, 0.95); */
  /* backdrop-filter: blur(10px); */
  /* border-bottom: 2px solid #ed1e26; */
  padding: 10px 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo-link {
  display: block;
  text-decoration: none;
}

.site-logo {
  height: 150px;
  width: auto;
  max-width: 260px;
}

.flyout-logo {
  height: 50px;
  width: auto;
  max-width: 150px;
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 70px;
  height: 60px;
  background: transparent;
  border: 2px solid #000000;
  cursor: pointer;
  padding: 0;
  background: #f7cd39;
  padding: 20px 10px;
  gap: 10px;
  border-radius: 9px;
  align-content: center;
  align-items: center;
}

.hamburger span {
  width: 100%;
  height: 5px;
  border: #252525 3px solid;
  border-radius: 7px;
  transition: all 0.3s ease;
  z-index: 999;
  gap: 20px;
}

.hamburger:hover span {
  background: #1d3f78;
}

/* Flyout Menu */
.flyout-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1002;
  overflow-y: auto;
}

.flyout-menu.open {
  right: 0;
}

.flyout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
}

.close-flyout {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #ed1e26;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-flyout:hover {
  color: #1d3f78;
}

.flyout-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flyout-menu li {
  border-bottom: 1px solid #eee;
}

.flyout-menu a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.flyout-menu a:hover {
  background: #ed1e26;
  color: white;
}

/* Flyout Overlay */
.flyout-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.flyout-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 15px;
  }
  
  .site-logo {
    height: 50px;
  }
  
  .flyout-menu {
    width: 280px;
  }
  
  .flyout-menu a {
    padding: 12px 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .flyout-menu {
    width: 100%;
  }
  
  .flyout-header {
    padding: 15px;
  }
  
  .flyout-menu a {
    padding: 15px 20px;
    font-size: 16px;
  }
}

/* Body padding to account for fixed header */
body {
  /* padding-top: 80px; */
}

/* Starz overlay styles */
.starz-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.starz-rotating-img {
  width: 100%;
  height: 100%;
  background-image: url('/elements/Starz.png');
  background-size: cover;
  background-position: center;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Section container adjustments */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Slider section for master shield */
.section-container.slider {
  height: 46vw;
  z-index: 998;
  margin-bottom: 20px;
}

/* Event box styles */
.event-box {

  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
}

.poster-box {
  color: white;
  border-image: url(/elements/star-red-trans.png);
  border-image-repeat: repeat;
  position: relative;
  overflow: hidden;
}

.poster-inner {
  padding: 30px;
  text-align: center;
}

/* New Two-Column Event Layout */
.event-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
}

.event-poster-column {
  flex: 0 0 300px;
 
}

.event-poster {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.event-details-column {
  flex: 1;
  text-align: left;
}

.event-header-info {
  /* margin-bottom: 30px; */
}

.event-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0px;
  color: #fff;
  display: block;
  text-shadow: 3px 3px black;
}

.event-venue-full {
  font-size: 1.2rem;
  color: white;
  margin: 0;
  font-weight: 500;
}

.event-date-range {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.date-range-item {
  text-align: center;

}

.date-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #ffcb0e;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.date-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.date-weekday {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.date-day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: #ffcb0e;
}

.date-suffix {
  font-size: 1rem;
  vertical-align: super;
}

.date-month {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
}

.event-showtimes {
  margin-top: 20px;
}

.showtimes-title {
  font-size: 1.5rem;
  color: #ffcb0e;
  margin-bottom: 20px;
  text-align: left;
}

.showtimes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.event-date-col {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-date-heading h3 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  color: #ffcb0e;
}

.event-showtime {
  margin-top: 15px;
}

.book-now-btn {
  display: inline-block;
  background: #ffcb0e;
  color: #1d3f78;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.book-now-btn:hover {
  background: #1d3f78;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Master shield */
.master-shield {
  /* position: relative; */
  /* top: 40px; */
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  max-width: 100%;
  /* height: auto; */
  /* opacity: 1; */
  /* z-index: 999; */
  /* pointer-events: none; */
}




/* Desktop-only styles */
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
}

/* Desc styles */
.desc {
  text-align: center;
  margin-bottom: 20px;
}

.desc h1 {
  margin-bottom: 10px;
}

.desc strong {
  font-weight: 600;
  color: #ffcb0e;
}

/* Gemini-style showtime layout */
.showtime-date-row {
  margin-bottom: 24px;
}
.showtime-date-label {
  font-weight: 100;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}
.showtime-btn-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.showtime-btn {
  background: #ffcb0e;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all .1s ease-in-out;
  text-shadow: 2px 2px #000000;
}
.showtime-btn:hover {
  background: #ff00bb;
  color: white;
  transform: scale(1.1);
}
.showtime-time {
  font-weight: bold;
  font-size: 1.1em;
  margin-right: 6px;
}
.showtime-book {
  font-size: 1em;
}
.showtime-arrow {
  font-size: 1.3em;
  margin-left: 6px;
}

/* Showtime status styles */
.showtime-btn.sold-out,
.showtime-btn.cancelled,
.showtime-btn.postponed,
.showtime-btn.booking-closed {
  pointer-events: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: opacity 0.2s;
}

.showtime-btn.sold-out:hover,
.showtime-btn.cancelled:hover,
.showtime-btn.postponed:hover,
.showtime-btn.booking-closed:hover {
  opacity: 0.9 !important;
  transform: none;
}
@media (max-width: 768px) {
  .showtime-btn-row {
    flex-direction: column;
    gap: 12px;
  }
}