:root {
  --red: #ee1c25;
  --purple-deep: #3a2150;
  --purple-text: #3f2a5c;
  --lilac-light: #efe9f5;
  --lilac-mid: #c9b8e0;
  --purple-mountain: #9b7ec9;
  --purple-deep-mountain: #652FC1;
  --ink-black: #1a1a1a;
  --white: #ffffff;
  --font-display: "GT Alpina", Georgia, "Times New Roman", serif;
  --font-sans:  Helvetica, sans-serif;
}

/* ---------- Fonts ---------- */

@font-face {
  font-family: "GT Alpina";
  src: url("../fonts/GT-Alpina-Standard-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/helveticaneue.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}


@font-face {
  font-family: "Replica Trial";
  src: url("../fonts/ReplicaTrial-Regular.otf") format("opentype");
  font-style: normal;
}


/* ---------- Base ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--red);
  overflow-x: hidden;
}

h2{
font-size: 1.68rem;
  color: var(--purple-deep);
}

h3{
  padding-top: 1rem;
}

p {
  font-family: "IBM Plex Sans";
}

[data-depth="deep"]{

  body {
    background: var(--purple-deep-mountain);
  }

  h1, h2, h3, h4, h5, h6, p {
    color: var(--lilac-light);
    transition: 0.5s;

  }
}


a {
  color: var(--purple-deep);
}

a:visited {
  color: var(--red);
}

.page {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  border: 10px solid var(--ink-black);
  overflow: hidden;
  background: linear-gradient(to bottom, #f3f1f7 0%, #e7e0f0 55%, #c6b3e2 100%);
}

/* ---------- Typography ---------- */


.content h1 {
  font-family: var(--font-sans);
  font-size: 2.8224rem;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.8224rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.content p {
  font-family: "IBM Plex Sans";
  font-size: 1rem;
  margin: 1rem 0 0 1rem;
  line-height: 1.55;
}

.block-type-heading .right {
  text-align: right;
}

/* ---------- Sub-page Themes ---------- */

[data-theme="sub"] .homeNews {
  margin-top: 0;
}

[data-theme="sub"] .mountainCenter {
  top: -15rem;
}

[data-theme="sub"] .bigLogo {
  opacity: 0;
}


/* ---------- Layout & Grid ---------- */

.content {
  position: relative;
  z-index: 2;
  margin: 8rem 8rem 0 8rem;
  color: var(--purple-deep);
  padding-bottom: 5rem;
}

.col-4 {
  flex-basis: 33%;
}

.col-8 {
  flex-basis: 66.66%;
}

@media (min-width: 331px) and (max-width: 992px) {
  h1 {
    margin: 3rem;
  }

  .content {
    margin: 6rem 0 0 0;
  }

  [data-theme="sub"] h1 {
    margin: 0;
  }

  [data-theme="sub"] .content {
    margin: 6rem 1rem 0 1rem;
  }
}

@media (min-width: 992px) {
  .content {
    margin: 3rem 8rem 0 8rem
  }

  [data-theme="sub"] {
    .mountainCenter {
      top: -25rem;
    }
    .content{
      margin: 6rem 8rem 0 8rem
    }
  }
}


@media (min-width: 1920px) and (max-width: 2560px) {
  .content{
    /*padding: 0 10rem ;*/
  }

  [data-theme="sub"] .mountainCenter {
    top: -40rem;
  }
}


@media (min-width: 2560px) {
  .content{
    padding: 0 10rem ;
  }

  [data-theme="sub"] .mountainCenter {
    top: -30rem;
  }
}

/* ---------- Side Panels & Mountains ---------- */

.side-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 230px;
  background: var(--red);
  z-index: 1;
}

.side-panel.left {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 60% 60%, 100% 100%, 0 100%);
}

.side-panel.right {
  right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 65%);
}

.mountain {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 230px;
  z-index: 1;
  pointer-events: none;
}

.mountainCenter {
  left: 0;
  top: 3rem;
  right: 0;
  z-index: -1;
  position: absolute;
  height: 100rem;
  min-width: 100vw;
  pointer-events: none;
  transition: 2.5s;
}

.mountainCenter img {
  min-width: 720px;
}

/* ---------- Home Specific ---------- */

.homeNews {
  margin-top: 30vh;
  opacity: 0;
  display: flex;
  flex-wrap: wrap;
  /*flex-direction: column;*/
  justify-content: center;
  gap: 3rem;
  padding-bottom: 10rem;
}



.homeNews.scrolled {
  opacity: 1;
}

.homeNews a {
  color: var(--white) !important;
  text-decoration: none;
}

.homeNews a:visited {
  color: var(--lilac-light) !important;
}

.speaker_slots{
  margin:1rem 0 2rem 1rem;
}

.bigLogo {
  position: fixed;
  bottom: -1rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-height: 70vh;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  pointer-events: none;
  z-index: 999;

}

.bigLogo.scrolled {
  transform: translateY(100%);
  opacity: 0;
}

.bigLogo img {
  height: 100%;
  max-height: 60vh;
  width: auto;
  pointer-events: none;
  margin-top: -22px;
}


/* ---------- Badges & Blocks ---------- */

.badge,
.block-type-newsletter .badge,
.badge-red,
.block-type-button .badge {
  background-color: #4a2d7a;
  color: #ffffff;
  border-radius: 20px;
  padding: 28px 40px;
  display: inline-block;
  box-shadow: 0 0 60px 30px rgba(160, 100, 220, 0.45);
  margin-bottom: 2rem;
  border: none;
  text-align: left;
  width: min-content;
  margin-inline: auto;
  display: block;
}

.badge h2,
.block-type-newsletter .badge h4,
.badge-red h2,
.badge-red h4,
.block-type-button .badge h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--lilac-light);
  margin: 0;
  line-height: 1.1;
  text-decoration-color: var(--lilac-light);
}

.badge-red {
  text-align: center;
  font-size: 2rem;
  background-color: var(--red) !important;
  box-shadow: 0 0 60px 30px rgba(230, 57, 70, 0.45);
}

.mini-badge {
  color: var(--red);
  padding: 0.5rem 1rem;
  border-radius: 1rem;

  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 20px 5px rgba(238, 28, 37, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: max-content;
  text-align: right;
  background: var(--lilac-light);
  display: block;
  margin: 1rem 0 2rem 0;
}

.mini-badge:hover {
  transform: scale(1.05);
}

.mini-badge p {
  color: var(--red);
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.badge p,
.block-type-newsletter .badge p,
.badge-red p,
.block-type-button .badge p {
  font-size: 16px;
  font-weight: 400;
  color: var(--lilac-light);
  margin: 0;
  opacity: 0.85;
}
.block-type-button a {
text-decoration: none;
}

.block-type-button,
.block-type-newsletter {
  margin: 2rem 0;
}

.block-type-button button {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.block-type-button button:hover {
  transform: scale(1.05);
}

.block-type-newsletter .badge input[type="email"] {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--lilac-light);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  width: 100%;
}

.block-type-newsletter .badge .button {
  background-color: var(--lilac-light);
  color: #4a2d7a;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}

/* ---------- Speaker Specific ---------- */

.speaker.preview .block.block-type-heading {
  position: absolute;
  margin: 1rem;
}

.speaker_preview h2 {
  margin-top: 3rem;
}

.block-type-image img {
  width: auto;
  /*max-height: 20rem;*/
  max-width: 100%;
}

/* ---------- Foreground Elements ---------- */

.foreground {
  position: absolute;
  bottom: -1rem;
  z-index: 999;
}

.foreground img {
  filter: blur(5px);
}

.foreground.left {
  left: -3rem;
  max-width: 25vw;
}

.foreground.right {
  right: -1rem;
  max-width: 25vw;
}

/* ---------- Footer ---------- */

.footer {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 10;
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 2rem 0;
}

.sponsor-item {
  flex: 0 1 auto;
}

.sponsor-item img {
  max-height: 80px;
  max-width: 200px;
  filter: grayscale(1) invert(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.sponsor-item img:hover {
  /*filter: grayscale(0);*/
  opacity: 1;
}

.sponsor-item span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--ink-black);
}

.footer-bottom {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  opacity: 0.5;
  color: var(--ink-black);
}

/* ---------- Misc ---------- */

.date-badge {
  position: absolute;
  top: 80px;
  right: 26px;
  z-index: 2;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  color: var(--purple-deep);
}


span.helvetica {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: #ffffff;
}


.allSpeakers{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5%;
}

.allSpeakers h2{
  font-size: 1.68rem;
}

.allSpeakers .fullSpeaker{
  display: flex;
  flex-direction: column;
  flex-basis: 30%;
  max-width: 30%;
}

@media (min-width: 331px) and (max-width: 992px) {
  .allSpeakers {
    display: unset;
  }

  .allSpeakers .fullSpeaker{
    display: unset;
  }
}
