:root {
  --accent: #ff72ff;
  --accent-dark: #333333;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #2c2c2c;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 24px;
  /* Standard/Regular */
  @media (min-width: 1280px) {
    background-image: conic-gradient(
      from 0deg,
      var(--accent-dark) 90deg,
      #222222 90deg 180deg,
      var(--accent-dark) 180deg 270deg,
      #292929 270deg 360deg
    );
    background-size: 1280px 1280px;
    background-position: center top;
  }
}

main {
  max-width: 1280px;
  margin: auto;
}

h2 {
  line-height: 0.9;
  em {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    font-style: normal;
    line-height: 1;
  }
}

.grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  @media (min-width: 768px) {
    grid-template-columns: 1fr 1fr;
  }
}

img.hicontrast,
.hicontrast img {
  filter: contrast(1.3) saturate(0);
  display: block;
}

.schedule {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1/1;
  div {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: row;
    span {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      /* align-items: flex-start; */
      color: white;
      padding: 1rem;
      width: 100%;
      justify-content: flex-end;
      strong {
        font-size: clamp(1.5rem, 4vw, 1.8rem);
        color: var(--accent);
        font-weight: 700;
        display: block;
      }

      em {
        font-style: normal;
        background: #00000055;
        padding: 0.3rem;
        font-size: 1rem;
        font-weight: 500;
        display: block;
      }
    }

    img {
      height: 100%;
      position: absolute;
      aspect-ratio: 1/1;
      z-index: 0;
      transition: transform 0.4s ease;
    }

    &:hover img {
      transform: scale(1.05);
    }
  }
}

.grid-cell {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-bottom: 1px solid #00000022;
  box-sizing: border-box;
  @media (min-width: 1200px) {
    aspect-ratio: 1/1;
  }
}

.grid-pink {
  background: var(--accent);
}

.insta-grid {
  a {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: clamp(1rem, 4vw, 2rem);
    z-index: 1;
  }
}

dialog {
  padding: clamp(1rem, 4vw, 2rem);
  border: none;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
}

.pricing-items {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-direction: row;
  gap: 1rem;
}

.pricing {
  width: 100%;
  em {
    font-size: 1rem;
    display: block;
    text-align: center;
    margin: 0.6rem 0 0 0;
  }

  b {
    white-space: nowrap;
  }
}

.text-cell {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1.5rem, 5vw, 4rem);
  box-sizing: border-box;
  /* font-size: clamp(1.2rem, 4vw, 2rem); */
}

.text-white {
  color: white;
}

.text-cell p,
.text-cell address {
  margin: 0 0 1.5rem 0;
  font-style: normal;
  line-height: 1.4;
  text-justify: inter-character;
  text-align: justify;
}

.text-cell address p {
  margin: 0;
}

.text-cell button {
  background: white;
  color: black;
  border: none;
  padding: clamp(0.75rem, 3vw, 1.5rem) clamp(1.2rem, 4vw, 2.5rem);
  font-size: clamp(1.6rem, 3vw, 1.5rem);
  font-weight: 900;
  cursor: pointer;
  margin-top: 1rem;
  text-transform: uppercase;
  width: 100%;
}

/* Force all images inside grid cells to perfectly fill the aspect-ratio container */
.grid-cell > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.grid-cell:hover > img {
  transform: scale(1.05);
}

/* Ensure the Juxtapose SVG logo stays centered and doesn't stretch */
.grid-cell > img[src$=".svg"] {
  width: 60%;
  height: auto;
  object-fit: contain;
  margin: 3rem auto;
}

.event-info-overlay {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  color: white;
  padding: clamp(1rem, 3vw, 1rem);
  width: 100%;
  box-sizing: border-box;
}

.event-info-name {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  color: var(--accent);
}

.event-info-date {
  font-style: normal;
  background: #00000055;
  padding: 0.3rem;
}

.schedule-item-clickable {
  cursor: pointer;
}

.img-cover-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mt-1 {
  margin-top: 1rem;
}

.map-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
}

.insta-link-btn {
  background: white;
  color: black;
  border: none;
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 1rem;
  display: inline-block;
  text-decoration: none;
}
