.tn-home-intro,
.tn-home-events,
.tn-home-features {
  box-sizing: border-box;
  width: 100%;
  color: var(--threeness-foreground, #0f1729);
  font-family: inherit;
}

.tn-home-intro *,
.tn-home-intro *::before,
.tn-home-intro *::after,
.tn-home-events *,
.tn-home-events *::before,
.tn-home-events *::after,
.tn-home-features *,
.tn-home-features *::before,
.tn-home-features *::after {
  box-sizing: border-box;
}

.tn-home-intro {
  padding: 86px 10px;
  background: #fff;
}

.tn-home-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 54px;
  max-width: 1180px;
  margin: 0 auto;
}

.tn-home-intro--image-right .tn-home-intro__inner {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.tn-home-intro--image-right .tn-home-intro__media {
  order: 2;
}

.tn-home-intro--image-right .tn-home-intro__content {
  order: 1;
}

.tn-home-intro__media {
  position: relative;
  min-height: 500px;
}

.tn-home-intro__image {
  display: block;
  margin: 0;
  overflow: hidden;
}

.tn-home-intro__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.tn-home-intro__image--main {
  position: absolute;
  inset: 64px 18% 36px 0;
  z-index: 1;
}

.tn-home-intro__image--top,
.tn-home-intro__image--bottom {
  position: absolute;
  z-index: 2;
  width: 42%;
  min-width: 180px;
  aspect-ratio: 1 / 1;
}

.tn-home-intro__image--top {
  top: 0;
  right: 0;
}

.tn-home-intro__image--bottom {
  right: 6%;
  bottom: 0;
}

.tn-home-intro__content {
  min-width: 0;
  max-width: 560px;
}

.tn-home-intro__eyebrow,
.tn-home-events__eyebrow,
.tn-home-features__eyebrow {
  margin: 0 0 16px;
  color: var(--threeness-primary, #00a0cc);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tn-home-intro__title,
.tn-home-events__title,
.tn-home-features__title {
  margin: 0;
  color: var(--threeness-foreground, #0f1729);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.tn-home-intro__body,
.tn-home-events__intro,
.tn-home-features__intro {
  color: var(--threeness-muted-foreground, #65758b);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.tn-home-intro__body {
  margin-top: 24px;
}

.tn-home-intro__body p {
  margin: 0 0 1em;
}

.tn-home-intro__body p:last-child {
  margin-bottom: 0;
}

.tn-home-intro__highlight {
  margin: 22px 0 0;
  color: var(--threeness-accent, #ff531a);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.tn-home-intro__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 28px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--threeness-primary, #00a0cc);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.tn-home-intro__button:hover,
.tn-home-intro__button:focus {
  color: #fff;
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.tn-home-events {
  padding: 84px 10px 88px;
  background: var(--threeness-muted, #f1f5f9);
}

.tn-home-events__inner,
.tn-home-features__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.tn-home-events__header,
.tn-home-features__header {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.tn-home-events__intro,
.tn-home-features__intro {
  margin: 18px auto 0;
  max-width: 660px;
}

.tn-home-features__heading-media {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  overflow: hidden;
}

.tn-home-features__heading-media--icon {
  border-radius: 999px;
  background: #e8f8fc;
  color: var(--threeness-primary, #00a0cc);
}

.tn-home-features__heading-media i {
  font-size: 34px;
}

.tn-home-features__heading-media svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.tn-home-features__heading-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tn-home-events .tn-elementor-event-cards {
  --tn-event-cards-columns: 3;
}

.tn-home-events__empty {
  padding: 18px;
  border: 1px solid var(--threeness-border, #e1e7ef);
  border-radius: 8px;
  background: #fff;
  color: var(--threeness-muted-foreground, #65758b);
  text-align: center;
}

.tn-home-features {
  --tn-home-feature-button-align: center;
  --tn-home-feature-split-media-width: 220px;
  padding: 84px 10px 86px;
  background: #fff;
}

.tn-home-features__inner {
  max-width: 1120px;
}

.tn-home-features__grid {
  --tn-home-feature-columns: 3;
  display: grid;
  grid-template-columns: repeat(var(--tn-home-feature-columns), minmax(0, 1fr));
  gap: 24px;
}

.tn-home-features__card {
  --tn-home-feature-card-padding-top: 28px;
  --tn-home-feature-card-padding-right: 24px;
  --tn-home-feature-card-padding-bottom: 28px;
  --tn-home-feature-card-padding-left: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 24px;
  border: 1px solid var(--threeness-border, #e1e7ef);
  border-radius: 18px;
  background: #fff;
  color: var(--threeness-foreground, #0f1729);
  text-align: center;
}

.tn-home-features__card--link {
  color: var(--threeness-foreground, #0f1729);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tn-home-features__card--link:hover,
.tn-home-features__card--link:focus-visible {
  border-color: color-mix(in srgb, var(--threeness-primary, #00a0cc) 46%, var(--threeness-border, #e1e7ef));
  box-shadow: 0 18px 42px rgba(15, 23, 41, 0.12);
  color: var(--threeness-foreground, #0f1729);
  outline: 0;
  transform: translateY(-4px);
}

.tn-home-features__card--link:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--threeness-primary, #00a0cc) 28%, transparent), 0 18px 42px rgba(15, 23, 41, 0.12);
}

.tn-home-features__media {
  flex: 0 0 auto;
  margin: 0;
}

.tn-home-features__image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
}

.tn-home-features__card--image-full {
  overflow: hidden;
}

.tn-home-features__card--image-full .tn-home-features__media {
  width: calc(100% + var(--tn-home-feature-card-padding-left) + var(--tn-home-feature-card-padding-right));
  margin-top: calc(var(--tn-home-feature-card-padding-top) * -1);
  margin-right: calc(var(--tn-home-feature-card-padding-right) * -1);
  margin-left: calc(var(--tn-home-feature-card-padding-left) * -1);
}

.tn-home-features__card--image-full .tn-home-features__image {
  border-radius: 0;
}

.tn-home-features__media + .tn-home-features__card-content {
  padding-top: 20px;
}

.tn-home-features__icon {
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #e8f8fc;
  color: var(--threeness-primary, #00a0cc);
}

.tn-home-features__icon i {
  font-size: 24px;
}

.tn-home-features__icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.tn-home-features__card-title {
  margin: 0;
  color: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.16;
}

.tn-home-features__card-text {
  display: block;
  margin: 14px 0 0;
  color: color-mix(in srgb, currentColor 68%, transparent);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.tn-home-features__card-content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
}

.tn-home-features__button-wrap {
  display: flex;
  justify-content: var(--tn-home-feature-button-align, center);
  margin-top: auto;
  padding-top: 22px;
}

.tn-home-features__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--threeness-primary, #00a0cc);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tn-home-features__card--link:hover .tn-home-features__button,
.tn-home-features__card--link:focus-visible .tn-home-features__button {
  background: var(--threeness-foreground, #0f1729);
  color: #fff;
  transform: translateY(-1px);
}

.tn-home-features--layout-split {
  --tn-home-feature-button-align: flex-end;
}

.tn-home-features--layout-split .tn-home-features__card {
  flex-direction: row;
  gap: 24px;
  text-align: left;
}

.tn-home-features--layout-split .tn-home-features__media {
  width: var(--tn-home-feature-split-media-width);
  min-width: var(--tn-home-feature-split-media-width);
}

.tn-home-features--layout-split .tn-home-features__image {
  height: 100%;
  min-height: 170px;
}

.tn-home-features--layout-split .tn-home-features__card--image-full .tn-home-features__media {
  width: var(--tn-home-feature-split-media-width);
  min-width: var(--tn-home-feature-split-media-width);
  margin: 0;
}

.tn-home-features--layout-split .tn-home-features__card--image-full .tn-home-features__image {
  border-radius: 12px;
}

.tn-home-features--layout-split .tn-home-features__media + .tn-home-features__card-content {
  padding-top: 0;
}

.tn-home-features--layout-split .tn-home-features__icon {
  align-self: flex-start;
  margin-bottom: 0;
}

.tn-home-features--layout-split .tn-home-features__button-wrap {
  justify-content: var(--tn-home-feature-button-align, flex-end);
}

@media (max-width: 1024px) {
  .tn-home-intro__inner,
  .tn-home-intro--image-right .tn-home-intro__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .tn-home-intro--image-right .tn-home-intro__media,
  .tn-home-intro--image-right .tn-home-intro__content {
    order: initial;
  }

  .tn-home-intro__media {
    min-height: 460px;
  }

  .tn-home-intro__content {
    max-width: 720px;
  }

  .tn-home-intro__title,
  .tn-home-events__title,
  .tn-home-features__title {
    font-size: 40px;
  }

  .tn-home-events .tn-elementor-event-cards {
    --tn-event-cards-columns: 2;
  }

  .tn-home-features--layout-split .tn-home-features__card {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .tn-home-intro,
  .tn-home-events,
  .tn-home-features {
    padding-right: 10px;
    padding-left: 10px;
  }

  .tn-home-intro {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .tn-home-events,
  .tn-home-features {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .tn-home-intro__media {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tn-home-intro__image--main,
  .tn-home-intro__image--top,
  .tn-home-intro__image--bottom {
    position: static;
    width: auto;
    min-width: 0;
    aspect-ratio: 1 / 1;
  }

  .tn-home-intro__image--main {
    grid-column: span 2;
    aspect-ratio: 16 / 11;
  }

  .tn-home-intro__title,
  .tn-home-events__title,
  .tn-home-features__title {
    font-size: 32px;
    line-height: 1.06;
  }

  .tn-home-intro__body,
  .tn-home-events__intro,
  .tn-home-features__intro {
    font-size: 15px;
  }

  .tn-home-events__header,
  .tn-home-features__header {
    margin-bottom: 28px;
    text-align: left;
  }

  .tn-home-features__heading-media {
    margin-right: 0;
    margin-left: 0;
  }

  .tn-home-events .tn-elementor-event-cards,
  .tn-home-features__grid {
    --tn-event-cards-columns: 1;
    --tn-home-feature-columns: 1;
  }

  .tn-home-features__card {
    text-align: left;
  }

  .tn-home-features__icon {
    align-self: flex-start;
  }

  .tn-home-features__button-wrap {
    justify-content: flex-start;
  }

  .tn-home-features--layout-split {
    --tn-home-feature-button-align: flex-start;
  }

  .tn-home-features--layout-split .tn-home-features__card {
    flex-direction: column;
  }

  .tn-home-features--layout-split .tn-home-features__media,
  .tn-home-features--layout-split .tn-home-features__card--image-full .tn-home-features__media {
    width: 100%;
    min-width: 0;
  }

  .tn-home-features--layout-split .tn-home-features__media + .tn-home-features__card-content {
    padding-top: 20px;
  }
}
