/* Shared page foundation */
.wizon-page,
.wizon-event-archive,
.wizon-event-single {
  margin: 0;
}

.wizon-page-hero {
  background: var(--wizon-white);
  padding-block: 96px;
}

.wizon-page-hero__inner {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 820px) 270px;
}

.wizon-page-hero__copy,
.wizon-about-story__inner,
.wizon-about-principles__header,
.wizon-about-people__heading,
.wizon-about-careers__intro,
.wizon-contact-cta__copy,
.wizon-contact-card__content,
.wizon-faq-intro,
.wizon-faq-category__intro {
  display: flex;
  flex-direction: column;
}

.wizon-page-hero__copy {
  gap: 24px;
}

.wizon-page-hero__copy > .wizon-eyebrow {
  line-height: 16px;
}

.wizon-page-hero__copy > *,
.wizon-about-story__inner > *,
.wizon-about-principles__header > *,
.wizon-about-principles__grid > *,
.wizon-about-people__heading > *,
.wizon-about-people__grid > *,
.wizon-about-careers__intro > *,
.wizon-about-careers__inner > *,
.wizon-contact-cta__copy > *,
.wizon-contact-cta__inner > *,
.wizon-contact-card__content > *,
.wizon-faq-intro > *,
.wizon-faq-category__intro > *,
.wizon-faq-category__items > *,
.wizon-events-starter > *,
.wizon-events-starter__supporting > * {
  margin-block: 0;
}

.wizon-page-hero__title {
  color: var(--wizon-ink);
  font-family: "Lora", serif;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 70px;
  margin: 0;
  max-width: 820px;
}

.wizon-page-hero__lead {
  color: var(--wizon-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  margin: 0;
  max-width: 820px;
}

.wizon-page-hero__artwork {
  height: 270px;
  margin: 0;
  width: 270px;
}

.wizon-page-hero__artwork img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.wizon-blue-rule {
  background: var(--wizon-blue);
  border: 0;
  height: 2px;
  margin: 0 !important;
  max-width: 48px !important;
  opacity: 1;
  width: 48px !important;
}

.wizon-page-link {
  color: var(--wizon-red);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1px;
  line-height: 18px;
  margin: 0;
}

.wizon-page-link a {
  color: inherit;
  text-decoration: none;
}

.wizon-page-link a:hover {
  text-decoration: underline;
}

/* About */
.wizon-about-metrics,
.wizon-about-story,
.wizon-about-careers,
.wizon-faq-content {
  background: var(--wizon-subtle);
}

.wizon-about-metrics {
  padding-block: 96px;
}

.wizon-about-metrics__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wizon-about-metrics__grid > *,
.wizon-about-principles__inner > *,
.wizon-about-people__inner > *,
.wizon-faq-content__inner > *,
.wizon-faq-category > * {
  margin-block-start: 0;
}

.wizon-about-metric {
  align-items: center;
  background: var(--wizon-white);
  border: 1px solid var(--wizon-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 156px;
  padding: 22px 24px;
  text-align: center;
}

.wizon-about-metric:nth-child(1) {
  border-radius: 28px 28px 8px 28px;
}

.wizon-about-metric:nth-child(2) {
  border-radius: 28px 8px 28px 28px;
}

.wizon-about-metric:nth-child(3) {
  border-radius: 8px 28px 28px 28px;
}

.wizon-about-metric > * {
  margin: 0;
}

.wizon-about-metric__value {
  color: var(--wizon-red);
  font-family: "Lora", serif;
  font-size: 52px;
  font-weight: 600;
  line-height: 59px;
}

.wizon-about-metric__label {
  color: var(--wizon-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.wizon-about-story {
  padding-block: 96px;
}

.wizon-about-story__inner {
  gap: 20px;
  margin-left: max(var(--wizon-gutter), calc((100vw - var(--wizon-content)) / 2));
  margin-right: auto;
  max-width: 856px;
}

.wizon-about-story__inner > * {
  max-width: 856px !important;
  width: 100%;
}

.wizon-about-story__inner > .wizon-eyebrow,
.wizon-about-principles__header > .wizon-eyebrow,
.wizon-about-people__heading > .wizon-eyebrow,
.wizon-about-careers__intro > .wizon-eyebrow {
  line-height: 16px;
}

.wizon-about-principles__header > * {
  max-width: none !important;
  width: 100%;
}

.wizon-about-story__title,
.wizon-about-principles .wizon-section-title,
.wizon-about-people .wizon-section-title,
.wizon-about-careers .wizon-section-title,
.wizon-contact-cta .wizon-section-title,
.wizon-faq-intro .wizon-section-title {
  font-size: 40px;
  letter-spacing: -0.2px;
  line-height: 48px;
}

.wizon-about-story__inner > p:not(.wizon-eyebrow) {
  color: var(--wizon-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.wizon-about-principles,
.wizon-about-people,
.wizon-contact-cta,
.wizon-events-listing {
  background: var(--wizon-white);
  padding-block: 96px;
}

.wizon-about-principles__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.wizon-about-principles__header {
  gap: 12px;
}

.wizon-about-principles__grid {
  border: 1px solid var(--wizon-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.wizon-about-principle {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 271px;
  padding: 32px;
}

.wizon-about-principle:nth-child(1),
.wizon-about-principle:nth-child(2) {
  border-bottom: 1px solid var(--wizon-border);
}

.wizon-about-principle:nth-child(odd) {
  border-right: 1px solid var(--wizon-border);
}

.wizon-about-principle:nth-child(2),
.wizon-about-principle:nth-child(3) {
  background: var(--wizon-subtle);
}

.wizon-about-principle > * {
  margin-block: 0;
}

.wizon-about-principle__title {
  color: var(--wizon-ink);
  font-family: "Lora", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.wizon-about-principle__body {
  color: var(--wizon-body);
  font-size: 16px;
  line-height: 24px;
}

.wizon-about-people__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.wizon-about-people__header {
  align-items: end;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 856px) minmax(0, 1fr);
}

.wizon-about-people__heading {
  gap: 12px;
}

.wizon-about-people__intro {
  color: var(--wizon-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  margin: 0;
}

.wizon-about-people__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wizon-person-card {
  background: var(--wizon-white);
  border: 1px solid var(--wizon-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  overflow: hidden;
}

.wizon-person-card__portrait {
  height: 260px;
  margin: 0;
  width: 100%;
}

.wizon-person-card__portrait img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wizon-person-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.wizon-person-card__content > * {
  margin: 0;
}

.wizon-person-card__name {
  color: var(--wizon-ink);
  font-family: "Lora", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.wizon-person-card__role {
  color: var(--wizon-red);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

.wizon-person-card__linkedin {
  color: var(--wizon-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-top: auto;
}

.wizon-about-careers {
  padding-block: 96px;
}

.wizon-about-careers__inner {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: 456px minmax(0, 776px);
}

.wizon-about-careers__intro {
  gap: 16px;
}

.wizon-about-careers__card {
  background: var(--wizon-white);
  border: 1px solid var(--wizon-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 39px 40px;
}

.wizon-about-careers__card p {
  color: var(--wizon-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  margin: 0;
}

.wizon-career-application {
  border-top: 1px solid var(--wizon-border);
  margin-top: 8px;
  padding-top: 20px;
}

.wizon-career-application > summary {
  color: var(--wizon-red);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  list-style-position: inside;
}

.wizon-career-application[open] > summary {
  margin-bottom: 24px;
}

.wizon-career-form-slot {
  border: 0;
  padding: 0;
}

.wizon-career-form-slot .wizon-form-slot__label {
  margin-top: 0;
}

/* Events and news */
.wizon-events-query__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.wizon-events-query__grid > li:first-child {
  grid-column: 1 / -1;
}

.wizon-event-card {
  background: var(--wizon-white);
  border: 1px solid var(--wizon-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 28px;
}

.wizon-event-card > * {
  margin-inline: 0 !important;
  margin-block: 0;
  max-width: 100% !important;
  width: 100%;
}

.wizon-event-card--query {
  height: 100%;
  min-height: 480px;
}

.wizon-events-query__grid > li:first-child .wizon-event-card--query {
  display: grid;
  gap: 0;
  grid-template-columns: 360px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  min-height: 420px;
  padding: 0;
  position: relative;
}

.wizon-events-query__grid > li:first-child .wizon-event-card--query::before {
  background: var(--wizon-ink);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 360px;
}

.wizon-events-query__grid > li:first-child .wizon-event-card__image,
.wizon-events-query__grid .wizon-event-card__type {
  display: none;
}

.wizon-events-query__grid > li:first-child .wizon-event-meta {
  align-self: center;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1 / -1;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.wizon-events-query__grid > li:first-child .wizon-event-card__title,
.wizon-events-query__grid > li:first-child .wizon-event-card__excerpt,
.wizon-events-query__grid > li:first-child .wizon-event-registration-link {
  grid-column: 2;
  margin: 0;
  padding-inline: 40px;
}

.wizon-events-query__grid > li:first-child .wizon-event-card__title {
  align-self: end;
  padding-top: 40px;
}

.wizon-events-query__grid > li:first-child .wizon-event-card__excerpt {
  padding-block: 20px;
}

.wizon-events-query__grid > li:first-child .wizon-event-registration-link {
  padding-bottom: 40px;
}

.wizon-event-card__image {
  height: 150px;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.wizon-event-card__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wizon-event-card__date {
  color: var(--wizon-red);
  font-family: "Lora", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
  margin: 0;
}

.wizon-event-meta {
  align-items: center;
  color: var(--wizon-body);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px 16px;
  line-height: 20px;
}

.wizon-event-meta__date {
  color: var(--wizon-red);
  font-family: "Lora", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
}

.wizon-event-meta__classification {
  color: var(--wizon-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 16px;
  text-transform: uppercase;
}

.wizon-events-query__grid > li:first-child .wizon-event-meta__date {
  color: var(--wizon-red);
  font-size: 28px;
  line-height: 34px;
}

.wizon-events-query__grid > li:not(:first-child) .wizon-event-meta {
  align-items: flex-start;
  flex-direction: column;
}

.wizon-events-query__grid > li.wizon_event_type-koolitus .wizon-event-meta,
.wizon-events-query__grid > li.wizon_event_type-training .wizon-event-meta {
  background: var(--wizon-subtle);
  border-radius: 4px;
  justify-content: center;
  min-height: 150px;
  padding: 24px;
}

.wizon-events-query__grid > li:is(.wizon_event_type-uudis, .wizon_event_type-news) .wizon-event-card--query::before {
  background: url("../images/wizon-office-rotermanni.jpg") center / cover no-repeat;
  content: "";
  display: block;
  flex: 0 0 150px;
  width: 100%;
}

.wizon-event-meta__location::before,
.wizon-event-meta__status::before {
  color: var(--wizon-border);
  content: "·";
  margin-right: 16px;
}

.wizon-event-meta__location,
.wizon-event-meta__status {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  white-space: nowrap;
}

.wizon-event-registration-link {
  margin-top: auto;
}

.wizon-event-registration-link a {
  color: var(--wizon-red);
  font-weight: 700;
}

.wizon-event-card__type {
  color: var(--wizon-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 16px;
  margin: 0;
  text-transform: uppercase;
}

.wizon-event-card__title,
.wizon-event-card__title a {
  color: var(--wizon-ink);
  font-family: "Lora", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  margin: 0;
  text-decoration: none;
}

.wizon-event-card p:not(.wizon-event-card__date):not(.wizon-event-card__type):not(.wizon-page-link),
.wizon-event-card__excerpt {
  color: var(--wizon-body);
  font-size: 16px;
  line-height: 24px;
}

.wizon-event-card__excerpt .wp-block-post-excerpt__more-link {
  color: var(--wizon-red);
  font-weight: 600;
  text-decoration: none;
}

.wizon-events-query__pagination {
  gap: 12px;
  margin-top: 48px;
}

.wizon-events-query__pagination a,
.wizon-events-query__pagination span {
  align-items: center;
  border: 1px solid var(--wizon-border);
  border-radius: 4px;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  text-decoration: none;
}

.wizon-events-starter {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wizon-event-featured {
  border: 1px solid var(--wizon-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: 420px;
  overflow: hidden;
}

.wizon-event-featured__media {
  background: var(--wizon-ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  padding: 32px;
}

.wizon-event-featured__media > *,
.wizon-event-featured__content > * {
  margin-inline: 0 !important;
  margin-block: 0;
  max-width: 100% !important;
  width: 100%;
}

.wizon-event-featured__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
}

.wizon-event-featured__content > p:not(.wizon-page-link) {
  color: var(--wizon-body);
  font-size: 16px;
  line-height: 24px;
}

.wizon-events-starter__supporting {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizon-events-starter__supporting .wizon-event-card {
  min-height: 520px;
}

.wizon-event-card__date-panel {
  background: var(--wizon-subtle);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 24px;
}

.wizon-event-card__facts {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.wizon-event-card__facts p {
  margin: 0;
}

.wizon-event-registration {
  margin-top: auto;
}

.wizon-event-registration summary {
  align-items: center;
  color: var(--wizon-red);
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1px;
  line-height: 18px;
  list-style: none;
  min-height: 44px;
  padding-block: 8px;
}

.wizon-event-registration summary::-webkit-details-marker {
  display: none;
}

.wizon-event-registration > p,
.wizon-event-registration .wizon-form-slot {
  margin-top: 16px;
}

.wizon-contact-cta__inner {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 704px) 528px;
}

.wizon-contact-cta__copy {
  align-items: flex-start;
  gap: 16px;
}

.wizon-contact-cta__lead {
  color: var(--wizon-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  margin: 0;
}

.wizon-contact-card {
  align-items: center;
  background: var(--wizon-white);
  border: 1px solid var(--wizon-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
  display: grid;
  gap: 20px;
  grid-template-columns: 172px minmax(0, 1fr);
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
}

.wizon-contact-card__portrait {
  border-radius: 8px;
  height: 172px;
  margin: 0;
  overflow: hidden;
  width: 172px;
}

.wizon-contact-card__portrait img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wizon-contact-card__content {
  gap: 7px;
}

.wizon-contact-card__role {
  color: var(--wizon-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 16px;
}

.wizon-contact-card__name {
  color: var(--wizon-ink);
  font-family: "Lora", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.wizon-contact-card__body,
.wizon-contact-card__detail {
  color: var(--wizon-body);
  font-size: 16px;
  line-height: 20px;
}

.wizon-contact-card__detail a {
  color: inherit;
  text-decoration: none;
}

/* FAQ */
.wizon-faq-content {
  padding-block: 96px;
}

.wizon-faq-content__inner {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.wizon-faq-intro {
  gap: 16px;
}

.wizon-faq-intro__body {
  color: var(--wizon-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
}

.wizon-faq-category {
  align-items: start;
  display: grid;
  gap: 72px;
  grid-template-columns: 368px minmax(0, 856px);
}

.wizon-faq-category__intro {
  gap: 12px;
}

.wizon-faq-category__title {
  color: var(--wizon-ink);
  font-family: "Lora", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
}

.wizon-faq-category__description {
  color: var(--wizon-body);
  font-size: 16px;
  line-height: 24px;
}

.wizon-faq-category__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.wizon-faq-item {
  background: var(--wizon-white);
  border: 1px solid var(--wizon-border);
  border-radius: 8px;
  margin-inline: 0 !important;
  max-width: none !important;
  padding: 23px 24px;
  width: 100%;
}

.wizon-faq-category__items > .wizon-faq-item {
  margin-inline: 0 !important;
  max-width: none !important;
  width: 100%;
}

.wizon-faq-item summary {
  align-items: center;
  color: var(--wizon-ink);
  cursor: pointer;
  display: flex;
  font-family: "Lora", serif;
  font-size: 24px;
  font-weight: 600;
  gap: 8px;
  justify-content: space-between;
  line-height: 30px;
  list-style: none;
  min-height: 44px;
}

.wizon-faq-item summary::-webkit-details-marker {
  display: none;
}

.wizon-faq-item summary::after {
  align-items: center;
  background: var(--wizon-white);
  border: 1px solid var(--wizon-ink);
  border-radius: 8px;
  color: var(--wizon-red);
  content: "+";
  display: inline-flex;
  flex: 0 0 44px;
  font-family: "Lora", serif;
  font-size: 28px;
  font-weight: 600;
  height: 44px;
  justify-content: center;
  line-height: 34px;
}

.wizon-faq-item[open] summary::after {
  background: var(--wizon-subtle);
  content: "−";
}

.wizon-faq-item summary:focus-visible {
  border-radius: 4px;
  outline: 3px solid color-mix(in srgb, var(--wizon-blue), transparent 55%);
  outline-offset: 4px;
}

.wizon-faq-item > p {
  color: var(--wizon-body);
  font-size: 16px;
  line-height: 24px;
  margin: 16px 52px 0 0;
}

/* Event archive and single */
.wizon-event-archive,
.wizon-event-single {
  background: var(--wizon-white);
  padding-block: 96px;
}

.wizon-event-archive__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.wizon-event-archive__title,
.wizon-event-single__title {
  color: var(--wizon-ink);
  font-family: "Lora", serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 64px;
  margin: 0;
}

.wizon-event-archive__empty {
  color: var(--wizon-body);
  font-size: 18px;
  line-height: 27px;
}

.wizon-event-single__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-inline: auto;
  max-width: 856px;
}

.wizon-event-single__inner > *,
.wizon-event-single__content > * {
  margin-inline: 0 !important;
  max-width: 100% !important;
  text-align: left;
  width: 100%;
}

.wizon-event-single__date {
  color: var(--wizon-red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 18px;
  margin: 0;
  text-transform: uppercase;
}

.wizon-event-single__image {
  border-radius: 8px;
  margin-block: 16px 24px;
  overflow: hidden;
}

.wizon-event-single__content {
  color: var(--wizon-body);
  font-size: 18px;
  line-height: 28px;
  margin-inline: 0 !important;
  max-width: 100% !important;
  text-align: left;
  width: 100%;
}

/* Keep the LinkedIn icon flush with the left edge of its footer column. */
.wizon-footer__linkedin,
.wizon-footer__linkedin a {
  justify-content: flex-start;
}

.wizon-registration-form {
  background: var(--wizon-white);
  border: 1px solid var(--wizon-border);
  border-radius: 12px;
  margin-block: 16px 24px;
  padding: clamp(24px, 4vw, 40px);
}

.wizon-registration-form__title {
  color: var(--wizon-ink);
  font-family: "Lora", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  margin: 0;
}

.wizon-registration-form__event {
  color: var(--wizon-red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 8px 0 0;
  text-transform: uppercase;
}

.wizon-registration-form__intro {
  color: var(--wizon-body);
  font-size: 16px;
  line-height: 24px;
  margin: 12px 0 24px;
}

.wizon-registration-form__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizon-registration-form__grid label,
.wizon-registration-form__consent {
  color: var(--wizon-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

.wizon-registration-form__grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wizon-registration-form__grid input {
  appearance: none;
  background: var(--wizon-white);
  border: 1px solid var(--wizon-border);
  border-radius: 6px;
  color: var(--wizon-ink);
  font: inherit;
  font-weight: 400;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.wizon-registration-form__grid input:focus-visible {
  border-color: var(--wizon-blue);
  outline: 3px solid color-mix(in srgb, var(--wizon-blue), transparent 75%);
  outline-offset: 1px;
}

.wizon-registration-form__honeypot {
  height: 1px !important;
  inset-inline-start: -10000px !important;
  overflow: hidden !important;
  position: absolute !important;
  width: 1px !important;
}

.wizon-registration-form__consent {
  align-items: flex-start;
  display: flex;
  font-weight: 400;
  gap: 10px;
  margin-top: 20px;
}

.wizon-registration-form__consent input {
  flex: 0 0 auto;
  height: 18px;
  margin-top: 2px;
  width: 18px;
}

.wizon-registration-form__consent a {
  color: var(--wizon-blue);
}

.wizon-registration-form__submit,
.wizon-event-registration-link a {
  align-items: center;
  background: var(--wizon-red);
  border: 1px solid var(--wizon-red);
  border-radius: 4px;
  color: var(--wizon-white);
  display: inline-flex;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  line-height: 20px;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.wizon-registration-form__submit {
  cursor: pointer;
  margin-top: 24px;
}

.wizon-registration-form__submit:hover,
.wizon-event-registration-link a:hover {
  background: #9f1926;
  border-color: #9f1926;
}

.wizon-registration-notice {
  border: 1px solid var(--wizon-border);
  border-radius: 6px;
  color: var(--wizon-ink);
  margin-bottom: 20px;
  padding: 12px 16px;
}

.wizon-registration-notice.is-success {
  border-color: #2c7a4b;
}

.wizon-registration-notice.is-error {
  border-color: var(--wizon-red);
}

@media (max-width: 600px) {
  /*
   * Event form shortcodes can inherit wpautop line breaks from stored block
   * content. Keep this defensive cleanup scoped to event registration so the
   * contact and career forms retain their independent layouts.
   */
  .wizon-event-single.has-global-padding {
    padding-inline: 0;
  }

  .wizon-event-single__inner {
    gap: 20px;
  }

  .wizon-event-single__inner > * {
    margin-block-start: 0;
  }

  .wizon-event-single__inner > br,
  #registreerimine .wizon-registration-form__form > br,
  #registreerimine .wizon-registration-form__grid > br,
  #registreerimine .wizon-registration-form__form > p:empty,
  #registreerimine .wizon-registration-form__form > p > br {
    display: none;
  }

  #registreerimine.wizon-registration-form {
    margin-block: 0 16px;
    padding: 20px;
  }

  #registreerimine .wizon-registration-form__intro {
    margin: 10px 0 16px;
  }

  .wizon-registration-form__grid {
    grid-template-columns: 1fr;
  }

  #registreerimine .wizon-registration-form__grid {
    gap: 16px;
  }

  #registreerimine .wizon-registration-form__grid label {
    gap: 6px;
  }

  #registreerimine .wizon-registration-form__form > p {
    margin: 0;
  }

  #registreerimine .wizon-registration-form__consent {
    margin-top: 16px;
  }

  .wizon-registration-form__submit {
    width: 100%;
  }

  #registreerimine .wizon-registration-form__submit {
    margin-top: 20px;
  }
}

.wizon-event-single__previous,
.wizon-event-single__next {
  color: var(--wizon-red);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .wizon-page-hero,
  .wizon-about-metrics,
  .wizon-about-story,
  .wizon-about-principles,
  .wizon-about-people,
  .wizon-about-careers,
  .wizon-events-listing,
  .wizon-contact-cta,
  .wizon-faq-content,
  .wizon-event-archive,
  .wizon-event-single {
    padding-block: 72px;
  }

  .wizon-page-hero__inner {
    display: flex;
    flex-direction: column;
  }

  .wizon-page-hero__copy {
    width: 100%;
  }

  :is(.wizon-about, .wizon-events-page, .wizon-faq-page) .wizon-page-hero__artwork {
    display: none;
  }

  .wizon-page-hero__title {
    font-size: 52px;
    line-height: 58px;
    max-width: 688px;
  }

  .wizon-about-metric {
    min-height: 154px;
  }

  .wizon-about-metric__value {
    font-size: 44px;
    line-height: 52px;
  }

  .wizon-about-metric__label {
    font-size: 16px;
    line-height: 22px;
  }

  .wizon-about-story__inner {
    margin-inline: auto;
    max-width: none;
  }

  .wizon-about-principle {
    min-height: 331px;
    padding: 28px;
  }

  .wizon-about-people__header {
    align-items: start;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .wizon-about-people__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wizon-person-card {
    min-height: 420px;
  }

  .wizon-person-card__portrait {
    height: 250px;
  }

  .wizon-about-careers__inner,
  .wizon-contact-cta__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .wizon-contact-card {
    max-width: 560px;
    width: 100%;
  }

  .wizon-event-featured {
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 520px;
  }

  .wizon-event-featured__media {
    padding: 24px;
  }

  .wizon-event-featured__content {
    padding: 32px;
  }

  .wizon-events-starter__supporting .wizon-event-card {
    min-height: 704px;
  }

  .wizon-events-query__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wizon-events-query__grid > li:first-child .wizon-event-card--query {
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 520px;
  }

  .wizon-events-query__grid > li:first-child .wizon-event-card--query::before {
    width: 220px;
  }

  .wizon-faq-content__inner {
    gap: 72px;
  }

  .wizon-faq-category {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
}

@media (min-width: 601px) and (max-width: 1100px) {
  .wizon-faq-content__inner {
    max-width: 608px;
    width: calc(100% - 160px);
  }
}

@media (max-width: 600px) {
  .wizon-about-metrics,
  .wizon-about-story,
  .wizon-about-principles,
  .wizon-about-people,
  .wizon-about-careers,
  .wizon-about .wizon-page-hero {
    padding-block: 48px;
  }

  .wizon-events-page .wizon-page-hero,
  .wizon-faq-page .wizon-page-hero,
  .wizon-events-listing,
  .wizon-contact-cta,
  .wizon-faq-content,
  .wizon-event-archive,
  .wizon-event-single {
    padding-block: 64px;
  }

  .wizon-page-hero__title {
    font-size: 40px;
    letter-spacing: -0.4px;
    line-height: 48px;
  }

  .wizon-page-hero__copy {
    gap: 20px;
  }

  .wizon-about-metrics__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wizon-about-metric {
    gap: 14px;
    min-height: 96px;
    padding: 18px;
  }

  .wizon-about-metric__value {
    font-size: 42px;
    line-height: 44px;
  }

  .wizon-about-metric__label {
    font-size: 17px;
    letter-spacing: 0.2px;
    line-height: 22px;
    text-transform: uppercase;
  }

  .wizon-about-story__inner {
    gap: 16px;
  }

  .wizon-about-story__inner > p:not(.wizon-eyebrow) {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }

  .wizon-about-story__title,
  .wizon-about-principles .wizon-section-title,
  .wizon-about-people .wizon-section-title,
  .wizon-about-careers .wizon-section-title,
  .wizon-contact-cta .wizon-section-title,
  .wizon-faq-intro .wizon-section-title {
    font-size: 40px;
    line-height: 48px;
  }

  .wizon-about-principles__grid {
    grid-template-columns: 1fr;
  }

  .wizon-about-principles__inner {
    gap: 32px;
  }

  .wizon-about-principle {
    border-bottom: 1px solid var(--wizon-border);
    border-right: 0 !important;
    min-height: 0;
    padding: 24px;
  }

  .wizon-about-principle:last-child {
    border-bottom: 0;
  }

  .wizon-about-people__inner {
    gap: 48px;
  }

  .wizon-about-people__grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .wizon-person-card {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    min-height: 180px;
  }

  .wizon-person-card__portrait {
    height: 180px;
  }

  .wizon-person-card__content {
    min-width: 0;
    padding: 20px;
  }

  .wizon-person-card__name {
    font-size: 28px;
    line-height: 34px;
  }

  .wizon-about-principle__title {
    font-size: 32px;
    line-height: 40px;
  }

  .wizon-about-careers__card {
    padding: 24px;
  }

  .wizon-event-featured {
    display: flex;
    flex-direction: column;
    min-height: 720px;
  }

  .wizon-event-featured__media {
    flex: 0 0 180px;
    min-height: 180px;
    padding: 24px;
  }

  .wizon-event-featured__content {
    flex: 1;
    gap: 16px;
    padding: 24px;
  }

  .wizon-events-starter__supporting,
  .wizon-events-query__grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .wizon-events-starter__supporting .wizon-event-card {
    min-height: 680px;
    padding: 24px;
  }

  .wizon-event-card--query {
    min-height: 0;
  }

  .wizon-events-query__grid > li:first-child {
    grid-column: auto;
  }

  .wizon-events-query__grid > li:first-child .wizon-event-card--query {
    display: flex;
    min-height: 0;
    padding: 0;
  }

  .wizon-events-query__grid > li:first-child .wizon-event-card--query::before {
    display: none;
  }

  .wizon-events-query__grid > li:first-child .wizon-event-meta {
    align-self: stretch;
    background: var(--wizon-ink);
    justify-content: center;
    min-height: 180px;
    padding: 24px;
  }

  .wizon-events-query__grid > li:first-child .wizon-event-card__title,
  .wizon-events-query__grid > li:first-child .wizon-event-card__excerpt,
  .wizon-events-query__grid > li:first-child .wizon-event-registration-link {
    padding-inline: 24px;
  }

  .wizon-events-query__grid > li:first-child .wizon-event-card__title {
    padding-top: 24px;
  }

  .wizon-events-query__grid > li:first-child .wizon-event-card__excerpt {
    padding-block: 16px;
  }

  .wizon-events-query__grid > li:first-child .wizon-event-registration-link {
    padding-bottom: 24px;
  }

  .wizon-event-card__facts {
    gap: 16px;
  }

  .wizon-contact-card {
    gap: 16px;
    grid-template-columns: 124px minmax(0, 1fr);
    min-height: 216px;
    padding: 18px;
  }

  .wizon-contact-card__portrait {
    height: 180px;
    width: 124px;
  }

  .wizon-contact-cta .wp-block-buttons,
  .wizon-contact-cta .wizon-button {
    width: fit-content;
  }

  .wizon-contact-cta .wizon-button .wp-block-button__link {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-width: 200px;
    width: auto;
  }

  .wizon-faq-content__inner {
    gap: 64px;
  }

  .wizon-faq-item {
    padding: 23px 16px;
  }

  .wizon-faq-item > p {
    margin-right: 0;
  }

  .wizon-event-archive__title,
  .wizon-event-single__title {
    font-size: 42px;
    line-height: 48px;
  }
}

@media (max-width: 430px) {
  .wizon-faq-item summary {
    font-size: 22px;
    line-height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wizon-page *,
  .wizon-event-archive *,
  .wizon-event-single * {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }
}
