/* ============================================================
   Fonts & Variables
============================================================ */
@import url(https://use.typekit.net/wnk4iec.css);

:root {
  --text: rgb(40, 40, 40);
  --bg: #ffffff;
  --offbg: rgba(0,0,0,.07);
  --accent: #74a372; /* default accent */

  /* default gradient stops */
  --grad1: transparent;
  --grad2: transparent;
  --grad3: transparent;
  --grad4: transparent;

  --font-headline: neue-haas-grotesk-display, sans-serif;
  --font-serif-display: freight-display-pro, serif;
  --font-text: neue-haas-grotesk-text, sans-serif;
  --font-serif: adobe-garamond-pro, serif;
  --font-ui: neue-haas-grotesk-text, sans-serif;
}

/* ============================================================
   Year Overrides
============================================================ */
html.festival-2022 {nitti-grotesk, sans-serif;
  --text: rgb(11, 54, 76);
  --bg: #f1f9f9;
  --accent: #f0d366;
  --grad1: transparent;
  --grad2: transparent;
  --grad3: transparent;
  --grad4: transparent;
}

html.festival-2023 {
  --text: rgb(27, 73, 88);
  --bg: #ffffff;
  --accent: #7cbac9;
  --grad1: rgba(240,191,133,.3);
  --grad2: rgba(255,196,225,.3);
  --grad3: rgba(221,255,219,.5);
  --grad4: rgba(124,186,201,.4);
}

html.festival-2024 {
  --text: rgb(45, 27, 0);
  --bg: #ffffff;
  --accent: #74a372;
  --grad1: rgba(50,36,28,.3);
  --grad2: rgba(134,174,116,.3);
  --grad3: rgba(221,255,219,.5);
  --grad4: rgba(171,129,110,.4);
}

html.festival-2025 {
  --text: rgb(40, 60, 40);
  --bg: #ffffff;
  --offbg: #fff5f1;
  --accent: #c9170c;
  --grad1: transparent;
  --grad2: transparent;
  --grad3: transparent;
  --grad4: transparent;
}

/* ============================================================
   Base Layout & Typography
============================================================ */
body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
  background-image: linear-gradient(to bottom right, var(--grad1), var(--grad2), var(--grad3), var(--grad4));
  background-size: 300% 300%;
  background-attachment: fixed;
}

#page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#header {
}

#content {
  margin-bottom: 10rem;
}

#footer {
  padding: 1.5em 0;
  margin-top: auto;
}

/* ============================================================
   Header & Navigation
============================================================ */
.header-container {
  display: flex;
  height: 80px;
  justify-content: space-between;
  align-items: center;
}


.logo-container,
.icons-container { 
  display: flex;
  gap: 20px;
  align-items: center;
}

.icons-menu {}
.icons-lang {}

body.festival-2022 .icons-lang { color: #f0d366; }

#menu_exit_button,
#search_exit_button {
    position: absolute;
    top: 1em;
    right: 1.5em;
    color: var(--text) !important;
}

#menu_button {
  color: var(--text);
}

#menu_button,
#menu_exit_button,
#search_button,
#search_exit_button,
.cld-nav:hover {
  cursor: pointer;
}

/* Mobile menu + search */
#mobile_menu,
#search_box {
  display: none;
  position: fixed;
  top: 0; bottom: 0; right: 0;
  z-index: 220;
  width: 100%;
  max-width: 300px;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  box-shadow: 0 0 30px rgba(0,0,0,.1);
}

#mobile_menu ul {
    list-style-type: none;
    margin: 0;
    padding: 3em 1.25em;
    text-align: left;
    font-size: 1.25em;
    line-height: 1.1;
}
#mobile_menu ul li {
    border-bottom: 1px solid var(--text);
    padding: 0.75em 0;
}

body.menuisout #mobile_menu,
body.searchisout #search_box {
  display: block;
}

/* ============================================================
   Logo
============================================================ */
.logo {
  width: 48px;
  margin: 0 auto;
}

.artist-detail-image img,
.event-detail-image img,
.logo img {
  width: 100%;
  height: auto;
}

.logo-title {
  font-size: 1.5em;
  font-family: var(--font-serif-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1;
}

.logo-subtitle {
  font-size: 1em;
  font-weight: 400;
  font-style: italic;
  font-family: var(--font-serif);
}

.logo-subtitle span {
  font-weight: 700;
}



/* ============================================================
   Animations
============================================================ */
@keyframes gradient {
  0%,100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

html.festival-2023,
html.festival-2024 {
  animation: 5s infinite gradient;
  height: 100vh;
}

/* ============================================================
   Headers, Titles & Sections
============================================================ */
.artist-detail-title,
.event-title,
.section-title h2,
.section-title-medium h2,
.section-title-small h2 {
  font-family: var(--font-headline);
}

.section-title h2 {
  border-top: 1px solid;
  font-weight: 800;
  font-size: 2em;
  line-height: 1.1;
  padding: 0.5em 0 0;
  margin: 0.75em 0 1.5em;
}

.section-title-small h2 {
  font-size: 1.5em;
  margin: 0.75rem 0 1.5rem;
}

.section-title-medium h2 {
  font-size: 1.75em;
  margin: 1rem 0 2rem;
}

.festival-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.festival-list li {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.festival-item-title {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ============================================================
   Festival Branding
============================================================ */
.festival-intro {
  text-align: center;
  font-size: 1em;
  margin-bottom: 2.5rem;
}

.festival-slogan {
  display: flex;
  justify-content: center;
  margin-top: -5rem;
  margin-bottom: 1rem;
}

.festival-slogan img {
  width: 100%;
  max-width: 250px;
  height: auto;
}

.festival-artwork {
  
  margin-bottom: 3rem;
}

.template-festivalpage .festival-artwork img {
  width: 100%;
  height: auto;
}

.template-homepage .festival-artwork {
  background: var(--offbg);
}

.template-homepage .festival-artwork img {
  width: 100%;
  height: 280px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .template-homepage .festival-artwork img {
    height: 320px;
  }
}

@media (min-width: 992px) {
  .template-homepage .festival-artwork img {
    height: 360px;
  }
}
@media (min-width: 1200px) {
  .template-homepage .festival-artwork img {
    height: 400px;
  }
}

/* ============================================================
   Links & Buttons
============================================================ */
.unstyled-btn {
  border: 0;
  background: none;
}

.btn {
  background: transparent;
  height: 3.125em;
  font-weight: 700;
  line-height: 3em;
  padding: 0 1.5em;
  display: inline-block;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn:hover {
  background: var(--accent);
  color: white;
}

.icons-lang .active,
b,
strong {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--accent-2024);
}

a.marked,
p a {
  border-bottom: 2px solid var(--accent-2024);
  padding-bottom: 0;
  color: inherit;
  transition: 250ms;
  background: 0 0;
}

a.marked:hover,
p a:hover {
  color: var(--accent-2024);
  border-color: transparent;
}

/* ============================================================
   Events
============================================================ */
.event-box {
  margin-bottom: 2rem;
}

.event-box a { color: inherit; }

.event-photo {
    overflow: hidden;
}

.event-photo img {
  width: 100%;
  height: auto;
  min-height: 100%;
  vertical-align: middle;
  filter: brightness(90%);
}

.event-photo img {
    transition: transform 0.5s, filter 0.25s ease-in-out;
    transform-origin: center center;
}

.event-box:hover .event-photo img {
  filter: brightness(100%);
  transform: scale(1.05);
}

.event-title {
  margin: 0.5em 0 0;
  line-height: 1.2;
  font-size: 1.25em;
  font-weight: 800;
  transition: color 0.25s ease-in-out;
}

.event-location {
  font-size: 1.125em;
  font-style: italic;
  font-family: var(--font-serif);
}

.event-date {
  margin-top: 1em;
  font-size: 1em;
  display: inline-block;
}

.event-date span.past_event { text-decoration: line-through; }

.event-about {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 15px;
  height: calc(3em * 1.4);
}

/* ============================================================
   Artists
============================================================ */
.artist-box {
  background: var(--text);
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.artist-box:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 140%;
}

.artist-box .artist-photo img {
  filter: brightness(75%) grayscale(100%);
    width: 100%;
    height: auto;
    min-height: 100%;
}

.artist-box .artist-photo img {
    transition: transform 0.5s, filter 0.25s ease-in-out;
    transform-origin: center center;
}

.artist-box:hover .artist-photo img {
  filter: brightness(90%) grayscale(100%);
  transform: scale(1.05);
}

.artist-box > .artist-box-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  color: #fff;
}

.artist-photo {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  z-index: 1;
  opacity: 1;
  background-color: var(--text);
}

.artist-info {
  z-index: 100;
  position: absolute;
  text-align: left;
  bottom: 0;
  width: 100%;
  padding: 1em;
  opacity: 1;
  transition: opacity 0.25s ease-in-out;
}

.artist-box:hover .artist-info { opacity: 0; }

.artist-title {
  margin: 0;
  line-height: 1.1;
  font-size: 1.125em;
  font-weight: 500;
}

.artist-subtitle {
  margin: 0;
  font-size: 0.875em;
  font-weight: 400;
  line-height: 1;
  display: none;
}

/* ============================================================
   Detail Pages (Artist/Event)
============================================================ */
.artist-detail,
.event-detail {
  padding: 0;
}

.page-detail-header,
.artist-detail-header,
.event-detail-header,
.page-index-header {
  margin: 0 0 4rem;
  padding: 6rem 0 5rem;
  background: var(--offbg);
}

.page-detail-header,
.page-index-header {
  padding-bottom: 1rem;
}

.artist-detail-image,
.event-detail-image {
  width: 100%;
  margin: 0 auto;
}

.artist-detail-image,
.event-detail-image { 
  margin: -8rem auto 1.25rem;
}

.event-detail-label {
  font-size: 1rem;
  font-weight: 700;
  //color: var(--accent);
}

.event-detail-label span {
  font-weight: 400;
}

.page-index-title,
.page-detail-title,
.artist-detail-title {
  font-weight: 700;
  margin: 0 0 0.1em;
  line-height: 1.1;
  font-size: 2em;
  font-family: var(--font-headline);
}

.page-index-subtitle,
.page-detail-subtitle,
.artist-detail-subtitle {
  font-weight: 400;
  font-size: 1.25em;
  margin: 0.25em 0 1em;
  line-height: 1.4;
}

.artist-detail-header h2 {
  font-weight: 400;
  font-size: 1.25em;
  margin: 0.25em 0 1em;
  line-height: 1.4;
}

.page-detail-body,
.artist-detail-body,
.event-detail-body {
  font-size: 1.25em;
  font-family: var(--font-text);
  line-height: 1.5;
}

.artist-detail-body p:first-child {
  margin-top: 0;
}

.event-detail-title {
  margin: 0 0 0.1em;
  line-height: 1.1;
  font-size: 2em;
  font-weight: 700;
  font-family: var(--font-headline);
}

.event-detail-date {
  font-weight: 400;
  font-size: 1.25em;
  margin: 0.5em 0 1em;
  line-height: 1.4;
}

.event-detail-tickets {

}

.event-detail-credits {
  margin-bottom: 3rem;
}

h2.event-detail-heading,
h2.artist-detail-heading {
  margin: 0 0 0.5em;
  font-size: 2em;
  font-weight: 400;
  font-family: var(--font-headline);
}

.event-credit {
  margin-bottom: 1em;
}

.event-credit-name {
  font-weight: 700;
  font-size: 1.25em;
}

.event-credit-subtitle {
  font-weight: 400;
  font-size: 1.125em;
}

/* ============================================================
   Sponsors
============================================================ */
.sponsor-item {
  display: inline-block;
  padding: 20px;
}

.sponsor-list { text-align: center; }

.sponsor-logo img {
  max-width: 200px;
  width: auto;
  height: auto;
  max-height: 200px;
}

/* ============================================================
   About
============================================================ */
.about p {
  font-size: 1em;
  margin: 0 0 1em;
}

/* ============================================================
   Separators
============================================================ */
.seperator,
hr {
  display: block;
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}

.seperator.line,
hr {
  margin: 10px 0;
  border-top: 2px solid #dcdad8;
}

.seperator.seperator-double { margin: 0 0 40px; }

.seperator.seperator-double.line { margin: 20px 0; }

/* ============================================================
   Social Media
============================================================ */
#social .social-media {
  position: aboslute;
  bottom: 0;
  margin: 0;
  padding: 1.5em 0;
  list-style: none;
  display: flex;
  justify-content: center;
  font-size: 1.5em;
}

#social .social-media li {
  margin: 0 0.5rem;
}

#social .social-media li a {
  display: inline-block;
  line-height: 50px;
  width: 50px;
  height: 50px;
  text-align: center;
  background: var(--text);
  border-radius: 50%;
  color: #fff;
}

body.festival-2022 #social .social-media li a {
  background: #ffecb0;
  background: linear-gradient(90deg, #ffecb0 0, #f0d366 100%);
  color: var(--text-2023);
}

/* ============================================================
   Search
============================================================ */
.search-box {
  display: flex;
}

.search-box .search-submit {
  background: var(--text);
  color: #fff;
  border: none;
  line-height: 3em;
  height: 3em;
  padding: 0 3em;
  display: inline-block;
  font-weight: 700;
  font-size: 1.25rem;
}

.search-box .search-input {
  flex: 1;
  border: 1px solid var(--text);
  border-radius: 0;
  padding: 0.75em;
  font-size: 1.25rem;
  margin-right: 10px;
  background: 0 0;
}

.search-results {
  margin-top: 3rem;
  font-size: 1.25rem;
}

/* ============================================================
   Calendar
============================================================ */
.cld-main {
    width: 100%;
}
.cld-datetime {
    width: 66%;
    min-width: 100px;
    max-width: 300px;
    margin: auto;
}
.cld-datetime .today {
    position: relative;
    float: left;
    width: calc(100% - 40px);
    margin: auto;
    text-align: center;
    font-weight: 700;
    font-size: 1.125rem;
}
.cld-nav {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}
.cld-nav svg {
    fill: var(--text);
}
.cld-nav:hover svg {
    fill: var(--accent);
}
.cld-rwd {
    float: left;
}
.cld-fwd {
    float: right;
}
.cld-days,
.cld-labels {
    padding-left: 0;
}
.cld-day,
.cld-label {
    display: inline-block;
    width: 14.28%;
    text-align: center;
}
.cld-day .cld-number {
    border-bottom: 3px solid transparent;
}
.cld-day.today .cld-number {
    font-weight: 700;
    color: var(--accent-2024);
}
.cld-day.has-event .cld-number {
    font-weight: 700;
    border-color: var(--accent-2024);
}
.cld-day.disableDay {
    opacity: 0.5;
}
.cld-day.nextMonth,
.cld-day.prevMonth {
    opacity: 0.33;
}
.cld-number {
    margin: 2px;
    padding: 3px;
}
.cld-day {
    font-size: 1.25em;
    position: relative;
}
.cld-day.has-event:hover .cld-number {
    background: var(--text);
    cursor: pointer;
    color: #fff;
    border-color: var(--text);
}
.cld-day.has-event:hover .cld-day-events {
    display: block;
}
ul.cld-day-events {
    position: absolute;
    z-index: 5;
    display: none;
    top: 35px;
    left: 0px;
    padding: 0.75rem 1rem;
    text-align: left;
    width: 200px;
    color: var(--text);
    background: var(--offbg);
    list-style: none;
    margin: 0;
}

li.cld-title {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--accent);
}
li.cld-title:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}
/* ============================================================
   Responsive Objects
============================================================ */
.responsive-object {
  position: relative;
  margin: 1.5em 0;
}

.responsive-object iframe,
.responsive-object object {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================
   Media Queries
============================================================ */

@media (min-width: 768px) {

  .page-index-title,
  .page-detail-title,
  .artist-detail-title {
    font-size: 2.75em;
  }

  .artist-detail-title { font-size: 2.75em; }
  .artist-detail-body,
  .artist-detail-header h2 { font-size: 1.375em; }

  .event-detail-title { font-size: 3.125em; }


  .event-detail-body { font-size: 1.375em; }
  .event-detail-credits h2 { font-size: 1.75em; }

  body.festival-2022 #footer {
    height: 270px;
    background-size: contain;
    background-position: bottom center;
  }

  #social .social-media { padding: 2em 0; }

  .about p { font-size: 1.125em; }
}

@media (min-width: 992px) {
  .festival-intro,
  .about p { font-size: 1.25em; }

  .festival-slogan {
    margin-top: -7rem;
    margin-bottom: 2rem;
  }


  .seperator,
  hr { margin: 0 0 30px; }
  .seperator.line,
  hr { margin: 15px 0; border-top: 2px solid #dcdad8; }
  .seperator.seperator-double { margin: 0 0 60px; }
  .seperator.seperator-double.line { margin: 30px 0; }

  .section-title h2 { font-size: 4em; }
  .event-detail-credits h2,
  .section-title-small h2 { font-size: 2em; }
  .section-title-medium h2 { font-size: 3em; }

  .more-links { font-size: 1.125em; }

  .artist-detail-header {
    padding-bottom: 1rem;
  }

  .artist-detail-image {
    width: 45%;
    float: right;
    margin: 5px 0 10px 20px;
  }

  .page-index-title,
  .page-detail-title,
  .artist-detail-title {
    font-size: 3.25em;
  }

  .artist-detail-title { font-size: 3.25em; }

  .event-detail-body { font-size: 1.5em; }
  .event-detail-title { font-size: 3.5em; }

  body.festival-2022 #footer {
    height: 220px;
    background-size: cover;
    background-position: top center;
  }
}

@media (min-width: 1200px) {
  .event-title { font-size: 1.5em; }
  .event-date { font-size: 1em; }
  .event-about { font-size: 16px; }
  .event-more {
    line-height: 30px;
    margin-top: 18px;
    font-size: 14px;
  }
}
