@font-face {
  font-display: swap;
  font-family: 'mg';
  font-style: normal;
  font-weight: normal;
  src: url('mg.woff') format('woff'),
       url('mg.woff2') format('woff2');
}

body, h1, h2, h3, h4, h5, h6 {
  font-family: 'mg', sans-serif;
}

input {
  font-family: sans-serif;
}

@media (max-width: 900px) {
  body {
    background-size: 100px, cover;
    background-position: top left, center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-image: url("logo-small.webp"), url("bg.webp");
    color: #7d1950;
  }
}

@media (min-width: 900px) {
  body {
    background-size: 150px, 30vh, cover;
    background-position: top left, center left, center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-image: url("logo-small.webp"), url("tree-left.webp"), url("bg.webp");
    color: #7d1950;
  }
}

/* narrow layout */
.container {
  max-width: 506px;
}

.logo {
  background-image: url('logo.webp');
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  max-width: 100%;
  height: 80px;
  display: block;
}

.shop-header {
  background: none;
}

.official-ticketshop {
  display: none;
}

.shop-powered-by a {
  color: #aaa;
  font-size: 60%;
}

#shop-name {
  display: none;
}

.page-title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2em;
}

.event-subtitle {
  background: url('streep.webp');
  background-repeat: no-repeat;
  background-size: contain;
  padding: 8px 30px;
  color: white !important;
  font-size: 1.2em;
}

.ticket {
  color: #e7d6cf;
  border: 0;
  background: #a06b7f;
}

.ticket-title {
  background-color: #e7d6cf;
  text-transform: uppercase;
  color: #7d1950;
  display: inline-block;
  padding: 3px 5px;
}

.btn-ticket,
.btn-edit {
  height: auto;
  width: auto;
  padding: .375rem .75rem;
  color: white;
}

/* Theme colors — override the default CSS variables instead of redeclaring rules.
   --btn-theme-hover-bg was previously set via unused Bootstrap variables (--bs-btn-hover-bg)
   that the old default stylesheet never read, so this hover color never actually showed up in
   production; it now does, using the color this file always intended. */
:root {
  --btn-theme-bg: #7d1950;
  --btn-theme-hover-bg: #63143f;
  --btn-secondary-bg: #7d1950;
  --btn-secondary-hover-bg: #7d1950;
}

/* Every button in this theme is square — a generic .btn reset instead of repeating
   border-radius: 0 on each individual variant (.btn-primary, .btn-secondary, the cookie
   bar's .btn-outline-light, etc.), so a variant used here without its own explicit
   override (like "Reject all") doesn't slip through with default rounded corners. */
.btn {
  border-radius: 0;
}

.btn-primary,
.btn-primary:hover {
  border: 0;
}

.btn-ticket-min,
.btn-ticket-min:hover {
  border: 0;
}

.btn-ticket-min:hover {
  color: black;
}

.btn-next-step,
.btn-next-step:hover {
  border: 1px white solid;
  background-color: #7d1950;
  text-transform: uppercase;
  padding: 1em;
  text-decoration: none;
  color: white;
}

.event-description a {
  line-height: 5em;
}

.event-description div:has(> a) {
  text-align: center;
}

input.form-control,
select.form-control {
  border: 1px solid black;
  border-radius: 0;
}

#voucher {
  background: white;
  color: black;
}

/* The sub-page accordion's open/active state defaults to the brand's primary button color
   (--btn-theme-bg, #7d1950) — this brand wants the ticket-card color (#a06b7f) instead, so
   it's overridden directly rather than via --btn-theme-bg (which would also recolor every
   button). Direct properties, not Bootstrap's --bs-accordion-* variables: the app's own
   default styling sets background-color/box-shadow directly rather than consuming them. */
.accordion-button:not(.collapsed) {
  background-color: #a06b7f;
  color: #ffffff;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(160, 107, 127, 0.25);
}
