.home-page {
  background: #fff;
}

.home-kicker {
  margin: 0 0 .55rem;
  color: var(--color-blue);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #fafafa;
}

.home-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--color-green);
  content: "";
}

.home-slider.is-ready .home-slider__track {
  display: grid;
  overflow: hidden;
}

.home-slider.is-ready .home-slide {
  grid-area: 1 / 1;
  min-width: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(calc(var(--slide-offset, 0) * 100%));
  transition: transform .35s ease, visibility 0s linear .35s;
}

.home-slider.is-ready .home-slide.is-active {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.home-slider .home-hero__content,
.home-slider .home-hero__media,
.home-announcements {
  touch-action: pan-y;
}

.home-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 18px;
}

.home-slider__controls[hidden] { display: none; }
.home-slider__arrow { width: 48px; min-height: 48px; padding: 0; font-size: 1.5rem; }
.home-slider__indicators { display: flex; align-items: center; }
.home-slider__dot {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.home-slider__dot span { width: 12px; height: 12px; border: 2px solid var(--color-blue); border-radius: 50%; }
.home-slider__dot[aria-current="true"] span { background: var(--color-blue); }
.home-slider__dot:hover span { border-color: var(--color-green); }
.home-announcements { display: grid; gap: 16px; padding: 32px 0; min-width: 0; }
.home-announcements__empty,
.home-announcement-card {
  overflow-wrap: anywhere;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-surface);
}
.home-announcements__empty { padding: clamp(24px, 4vw, 48px); text-align: center; }
.home-announcements__icon { display: block; color: var(--color-green); font-size: 3rem; }
.home-announcements__empty h3, .home-video__placeholder h3 { margin: 12px 0; font-size: 1.4rem; }
.home-announcements__empty p, .home-announcement-card p { margin: 0; color: var(--color-muted); }
.home-announcement-card { overflow: hidden; }
.home-announcement-card > div { padding: 20px; }
.home-announcement-card h3 { margin: 0 0 8px; }
.home-announcement-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.home-about__description { max-width: 42ch; color: var(--color-muted); margin: 18px 0 0; }
.home-video {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-soft);
}
.home-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--color-ink); }
.home-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.home-video__play[hidden] { display: none; }
.home-video__play-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--color-blue-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}
.home-video__play-label { padding: 6px 12px; border-radius: 20px; background: var(--color-blue-dark); font-weight: 700; }
.home-video__play:hover .home-video__play-icon { background: var(--color-blue); }
.home-video__play:focus-visible { outline: 3px solid var(--color-blue); outline-offset: -6px; }
.home-video__play:disabled { cursor: progress; }
.home-video__placeholder { display: grid; justify-items: center; align-content: center; min-height: 300px; padding: 24px; text-align: center; }
.home-video__placeholder img { width: 90px; height: auto; }
.home-video__placeholder p { margin: 0; color: var(--color-muted); }

@media (prefers-reduced-motion: reduce) {
  .home-slider.is-ready .home-slide { transition: none; }
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 2rem;
  min-height: 570px;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 590px;
  padding: 4rem 0;
}

.home-hero__media {
  min-width: 0;
  align-self: end;
}

.home-hero__media img {
  width: 100%;
  height: auto;
}

.home-hero__title {
  max-width: 13ch;
  margin: 0;
  font-size: 3.75rem;
  line-height: 1.04;
}

.home-hero__lead {
  max-width: 38ch;
  margin: 1.2rem 0 0;
  color: #425a76;
  font-size: 1.2rem;
  line-height: 1.5;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem;
}

.home-button--publish {
  border-color: var(--color-green);
  background: #fff;
  color: #347e17;
}

.home-button--publish:hover {
  border-color: #347e17;
  background: #f4faef;
}

.home-button--publish .button__icon:first-child {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.home-hero__institution {
  max-width: 310px;
  margin: 1.7rem 0 0;
  padding-left: .8rem;
  border-left: 3px solid var(--color-green);
  color: #2d4766;
  font-size: .83rem;
  line-height: 1.35;
}

.home-process,
.home-catalog,
.home-final {
  padding: 4.5rem 0;
}

.home-section-heading h2,
.home-final h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.15;
}

.home-section-heading--center {
  text-align: center;
}

.home-process {
  scroll-margin-top: 1rem;
}

.home-process__group {
  margin-top: 2rem;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
}

.home-process__group--share {
  background: #f4faef;
}

.home-process__group--collect {
  background: var(--color-soft);
}

.home-process__group > h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.3;
}

.home-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.home-process__grid--collect {
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
}

.home-step {
  position: relative;
  min-width: 0;
  text-align: center;
}

.home-step + .home-step::before {
  position: absolute;
  z-index: 0;
  top: 90px;
  left: -2rem;
  width: 2rem;
  border-top: 2px dashed #bdd9e9;
  content: "";
}

.home-step__media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  height: 180px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
}

.home-step__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-step__number {
  position: absolute;
  z-index: 2;
  top: .4rem;
  left: .4rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #dff2fc;
  color: var(--color-blue);
  font-weight: 850;
}

.home-step h4 {
  margin: 0 0 .45rem;
  font-size: 1.08rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-step p {
  margin: 0 auto;
  color: #425a76;
}

.home-step p strong {
  color: var(--color-ink);
}

.home-process__grid--collect .home-step {
  text-align: left;
}

.home-step__reward,
.home-step__deadline {
  display: grid;
  align-content: center;
  justify-items: center;
  font-weight: 750;
  line-height: 1.2;
}

.home-step__reward {
  width: 150px;
  height: 150px;
  border: 2px solid #c5e4b3;
  border-radius: 50%;
  background: #e4f3da;
  color: #347e17;
}

.home-step__reward strong {
  font-size: 2.75rem;
}

.home-step__reward span {
  font-size: 1.2rem;
}

.home-step__cost {
  position: absolute;
  right: .25rem;
  bottom: 0;
  padding: .35rem .8rem;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-blue-dark);
  color: #fff;
  font-weight: 750;
}

.home-step__deadline {
  min-height: 130px;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-top: 12px solid var(--color-blue);
  border-radius: var(--radius-panel);
  background: #fff;
  color: var(--color-blue-dark);
  gap: .4rem;
}

.home-step__deadline strong {
  font-size: 2rem;
}

.home-step__deadline span {
  font-size: .9rem;
}

.home-catalog {
  background: #f1f9fd;
}

.home-object-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.home-object-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d4e3ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 52, 80, .07);
}

.home-object-card__visual {
  position: relative;
  display: grid;
  min-height: 150px;
  place-items: center;
  overflow: hidden;
  background: #dceff7;
  color: var(--color-blue-dark);
}

.home-object-card__visual::before,
.home-object-card__visual::after {
  position: absolute;
  border: 18px solid rgba(75, 159, 36, .22);
  border-radius: 50%;
  content: "";
}

.home-object-card__visual::before {
  width: 105px;
  height: 105px;
  right: -24px;
  bottom: -38px;
}

.home-object-card__visual::after {
  width: 78px;
  height: 78px;
  top: -30px;
  left: -21px;
}

.home-object-card__visual > span {
  font-size: 3.25rem;
  font-weight: 850;
  line-height: 1;
}

.home-object-card__visual small {
  position: absolute;
  right: .75rem;
  bottom: .65rem;
  left: .75rem;
  overflow: hidden;
  color: #31566f;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-object-card__visual > a {
  width: 100%;
  height: 100%;
}

.home-object-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-object-card__body {
  padding: 1rem;
}

.home-object-card__status {
  display: inline-block;
  margin-bottom: .55rem;
  color: #347e17;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-object-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1.08rem;
  line-height: 1.3;
}

.home-object-card h3 a {
  color: var(--color-ink);
  text-decoration: none;
}

.home-object-card h3 a:hover {
  color: var(--color-blue);
  text-decoration: underline;
}

.home-object-card__location,
.home-object-card__description,
.home-object-card__meta {
  margin: .65rem 0 0;
  color: var(--color-muted);
  font-size: .88rem;
}

.home-object-card__location span {
  color: var(--color-blue);
  font-size: .7rem;
}

.home-object-card__description {
  min-height: 4em;
}

.home-object-card__meta {
  padding-top: .65rem;
  border-top: 1px solid #e5edf3;
  color: #425a76;
  font-weight: 700;
}

.home-catalog__empty {
  margin-top: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

.home-catalog__empty h3,
.home-catalog__empty p {
  margin: 0 0 .75rem;
}

.home-catalog__empty p {
  color: var(--color-muted);
}

.home-final {
  overflow: hidden;
  background: #dff2fc;
}

.home-final__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
  align-items: center;
  gap: 3rem;
}

.home-final__content {
  max-width: 680px;
}

.home-final h2 {
  max-width: 24ch;
}

.home-final__content > p:not(.home-kicker) {
  max-width: 58ch;
  margin: 1rem 0 1.5rem;
  color: #425a76;
}

.home-final__brand {
  justify-self: center;
}

.home-final__brand img {
  width: 210px;
  height: auto;
  opacity: .82;
}

@media (max-width: 980px) {
  .home-process__grid--collect {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-step--reservation {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    grid-column: 1 / -1;
    gap: 1.5rem;
  }

  .home-step--reservation .home-step__media {
    margin-bottom: 0;
  }

  .home-process__grid--collect .home-step::before {
    display: none;
  }

  .home-hero__title {
    font-size: 3.1rem;
  }

  .home-object-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: 0;
  }

  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
  }

  .home-hero__content {
    width: 100%;
    padding: 2.5rem 0 1.5rem;
  }

  .home-hero__media {
    width: min(100%, 620px);
    justify-self: center;
  }

  .home-hero__title {
    max-width: 14ch;
    font-size: 2.6rem;
  }

  .home-hero__lead {
    max-width: 33ch;
    font-size: 1.05rem;
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 360px;
  }

  .home-hero__institution {
    margin-top: 1.25rem;
  }

  .home-process,
  .home-catalog,
  .home-final {
    padding: 3.5rem 0;
  }

  .home-section-heading h2,
  .home-final h2 {
    font-size: 1.85rem;
  }

  .home-process__grid,
  .home-process__grid--collect {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
  }

  .home-step {
    text-align: left;
  }

  .home-step--reservation {
    display: block;
  }

  .home-step + .home-step {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
  }

  .home-step__content,
  .home-step p,
  .home-step h4 {
    max-width: 58ch;
    margin-right: auto;
    margin-left: auto;
  }

  .home-step + .home-step::before {
    display: none;
  }

  .home-step__media,
  .home-step--reservation .home-step__media {
    max-width: 260px;
    height: 150px;
    margin-bottom: 1rem;
  }

  .home-step__reward {
    width: 130px;
    height: 130px;
  }

  .home-step__reward strong {
    font-size: 2.25rem;
  }

  .home-final__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .home-final__brand img {
    width: 145px;
  }
}

@media (max-width: 520px) {
  .home-hero__content {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .home-hero__title {
    font-size: 2.25rem;
  }

  .home-hero__actions {
    max-width: none;
  }

  .home-object-grid {
    grid-template-columns: 1fr;
  }

  .home-object-card__visual {
    min-height: 180px;
  }

  .home-final__brand {
    display: none;
  }
}
