/* home page styles - iKNOWLEDGY | Editable source CSS */

.hero-home {
  background: #f6faf9;
  position: relative;
  overflow: hidden;
  padding-top: 52px;
}

.hero-home:before {
  content: '';
  position: absolute;
  inset: 0 60% auto auto;
  height: 330px;
  width: 330px;
  background: radial-gradient(circle,rgba(229,166,60,.12),transparent 68%);
  pointer-events: none;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  gap: 25px;
  min-height: 482px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
}

.hero-copy h1 {
  font-size: clamp(2.65rem,4.75vw,4.85rem);
  line-height: 1.13;
  margin: 19px 0 21px;
  letter-spacing: -.062em;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--teal);
  position: relative;
}

.hero-copy h1 em:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 50%;
  border-top: 4px solid var(--amber);
  transform: rotate(-1deg);
}

.hero-copy>p {
  font-size: 1rem;
  line-height: 1.9;
  max-width: 460px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 37px;
}

.play-line {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--navy);
  font-size: .76rem;
  font-weight: 800;
}

.play-line i {
  color: var(--amber);
  font-size: 1.25rem;
}

.scroll-note {
  font-size: .73rem;
  color: #79889c;
  font-weight: 600;
}

.hero-display {
  height: 464px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-accent {
  position: absolute;
  border-radius: 46% 54% 56% 44%;
  z-index: -1;
}

.hero-accent.yellow {
  width: 77%;
  height: 80%;
  background: #f1be63;
  top: 13%;
  left: 14%;
  transform: rotate(13deg);
}

.hero-accent.aqua {
  width: 80%;
  height: 79%;
  background: var(--teal);
  right: -3%;
  top: 8%;
  transform: rotate(-14deg);
}

.hero-photo {
  position: relative;
  width: 79%;
  height: 78%;
  border: 8px solid white;
  border-radius: 37% 33% 20% 26%/23% 35% 29% 30%;
  box-shadow: 0 28px 60px rgba(21,43,85,.15);
  overflow: hidden;
  transform: rotate(-3deg);
  background: #ddd;
  z-index: 2;
}

.hero-photo>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Three layered photos, crossfading inside the existing Hero frame. */
.hero-photo > .home-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .55s ease-in-out;
  will-change: opacity;
}

.hero-photo > .home-hero-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo > .home-hero-slide { transition: none; }
}

.hero-photo-overlay {
  z-index: 2;
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(transparent,rgba(10,33,56,.82));
  color: white;
  min-height: 70px;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  font-size: .65rem;
  letter-spacing: .07em;
  font-weight: 800;
}

.hero-photo-overlay span {
  font-size: 1.5rem;
  color: var(--amber);
  margin-inline-end: 8px;
}

.float-ticket {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(13,28,56,.15);
  border: 1px solid rgba(255,255,255,.8);
  font-weight: 800;
}

.ticket-top {
  top: 8%;
  left: 4%;
  padding: 12px 14px;
  border-radius: 12px;
  transform: rotate(-10deg);
  font-size: .7rem;
}

.ticket-top small {
  font-size: .65rem;
  color: var(--teal);
}

.tiny-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: var(--amber);
  color: var(--navy);
  border-radius: 9px;
}

.ticket-bottom {
  bottom: 8%;
  right: 0;
  padding: 14px 17px;
  border-radius: 13px;
  transform: rotate(7deg);
  color: var(--navy);
  font-size: .83rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.ticket-squiggle {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--coral);
  letter-spacing: 6px;
}

.hero-spark {
  position: absolute;
  top: 3%;
  right: 10%;
  font-size: 3.4rem;
  color: var(--amber);
  z-index: 4;
}

.quick-pillars {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid #e6edeb;
  margin-top: 25px;
  background: transparent;
}

.quick-pillars span {
  text-align: center;
  padding: 17px 10px;
  color: var(--navy);
  font-size: .76rem;
  font-weight: 850;
  border-right: 1px solid #e0e9e7;
}

.quick-pillars span:last-child {
  border: 0;
}

.quick-pillars span:before {
  content: '';
  display: inline-block;
  background: var(--teal);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-inline-end: 9px;
  vertical-align: middle;
}

.feature-band {
  background: #fff;
}

.feature-band-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 72px;
  align-items: center;
}

.feature-image {
  height: 355px;
  position: relative;
  border-radius: 22px;
}

.feature-image:before {
  content: '';
  position: absolute;
  top: -15px;
  left: -17px;
  width: 85px;
  height: 85px;
  border: 16px solid var(--amber);
  border-radius: 50%;
  z-index: -1;
}

.feature-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.image-stamp {
  position: absolute;
  bottom: -15px;
  right: -18px;
  background: var(--navy);
  color: #fff;
  padding: 11px 17px;
  border-radius: 12px;
  transform: rotate(-5deg);
  font-size: .75rem;
  font-weight: 850;
}

.feature-text h2 {
  margin: 10px 0 14px;
  max-width: 530px;
}

.feature-text p {
  max-width: 430px;
  line-height: 1.85;
}

.feature-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.memories-home {
  background: var(--cloud);
}

.partner-home {
  padding-bottom: 72px;
}

.partner-strip {
  display: flex;
  gap: 16px;
  align-items: center;
}

.partner-logo {
  flex: 1;
  min-height: 107px;
  border-radius: 15px;
  border: 1px solid #e8edf2;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 20px;
}

.partner-logo img {
  max-height: 60px;
  max-width: 135px;
  object-fit: contain;
}

@media (max-width:1020px) {
  .hero-home-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy h1 {
    font-size: 3.25rem;
  }

  .feature-band-grid {
    gap: 35px;
  }

  .hero-display {
    height: 415px;
  }

}

@media (max-width:760px) {
  .hero-home {
    padding-top: 26px;
  }

  .hero-home-grid {
    grid-template-columns: 1fr;
    min-height: unset;
    gap: 10px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem,10vw,4rem);
    margin: 13px 0 15px;
  }

  .hero-copy>p {
    font-size: .95rem;
  }

  .hero-bottom {
    margin-top: 22px;
  }

  .hero-display {
    height: 345px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-photo {
    width: 71%;
    height: 79%;
  }

  .ticket-bottom {
    right: 3%;
    bottom: 7%;
  }

  .quick-pillars {
    margin-top: 10px;
    grid-template-columns: repeat(2,1fr);
  }

  .quick-pillars span {
    font-size: .73rem;
    padding: 11px;
  }

  .quick-pillars span:nth-child(2) {
    border-right: 0;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 21px;
  }

  .split-heading>p {
    max-width: 600px;
  }

  .feature-band-grid {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  .feature-image {
    height: 285px;
  }

}

@media (max-width:510px) {
  .hero-copy h1 {
    font-size: 2.58rem;
  }

  .hero-buttons {
    gap: 9px;
  }

  .hero-display {
    height: 288px;
  }

  .hero-photo {
    width: 77%;
    height: 80%;
  }

  .float-ticket.ticket-top {
    padding: 8px;
    gap: 5px;
    font-size: .56rem;
    top: 8%;
    left: 1%;
  }

  .tiny-icon {
    width: 22px;
    height: 22px;
  }

  .ticket-top small {
    display: none;
  }

  .ticket-bottom {
    font-size: .66rem;
    padding: 9px;
    bottom: 2%;
  }

  .hero-photo-overlay {
    font-size: .52rem;
    padding: 10px;
    min-height: 55px;
  }

  .quick-pillars span {
    font-size: .66rem;
  }

}

@media (max-width:510px) {
  .hero-display {
    overflow: hidden;
  }

  .hero-accent.aqua {
    right: 4%;
  }

  .image-stamp {
    right: 10px;
    bottom: 8px;
    transform: rotate(-3deg);
  }

  .feature-band {
    overflow: hidden;
  }

}

@media (max-width:510px) {
  html[dir="rtl"] .hero-accent.aqua {
    right: auto;
    left: 4%;
  }

  html[dir="rtl"] .image-stamp {
    right: auto;
    left: 10px;
  }

}

.icon {
  display: inline-block;
  vertical-align: -.125em;
  flex: none;
}

.footer-sticker .icon, .image-stamp .icon, .about-badge .icon {
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

.hero-photo-overlay .icon, .event-side-card>.icon {
  width: 1em;
  height: 1em;
}

.event-decor-dots>.icon {
  font-size: 1em;
}

.event-decor-dots span>.icon {
  font-size: .7em;
}

.article-author .icon, .article-end-mark .icon {
  color: var(--amber);
}

.ticket-bottom .icon {
  color: var(--teal);
}

.hero-spark .icon {
  width: 1em;
  height: 1em;
}

.event-cover-preview .icon {
  margin-inline-end: 5px;
}

.event-mini-person>.icon {
  height: 27px;
  width: 27px;
  color: var(--teal);
}

.event-demo-message .icon {
  color: var(--teal);
  margin-inline-end: 7px;
}

.event-agenda-search .icon {
  position: absolute;
  inset-inline-start: 13px;
  color: var(--teal);
  pointer-events: none;
}

.event-session-time .icon {
  color: var(--teal);
}

.event-session-place .icon {
  color: var(--teal);
  margin-inline-end: 4px;
}

.event-session-person .icon {
  color: var(--teal);
}

.speaker-profile-photo .icon {
  font-size: 2rem;
}

