@charset "UTF-8";
.site-shell #main-content .chair-greeting {
  margin-block: 32px;
  color: var(--text);
}
.site-shell #main-content .chair-greeting__card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--border-default);
  border-radius: 20px;
  background: var(--surface-raised);
  color: var(--text);
  align-items: start;
}
.site-shell #main-content .chair-greeting__author {
  min-width: 0;
}
.site-shell #main-content .chair-greeting__portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 14px;
}
.site-shell #main-content .chair-greeting__name {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-heading, var(--text));
}
.site-shell #main-content .chair-greeting__position {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}
.site-shell #main-content .chair-greeting__signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 24px;
}
.site-shell #main-content .chair-greeting__signature > div {
  min-width: 0;
}
.site-shell #main-content .chair-greeting__contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 17px;
  font-weight: 600;
  color: var(--link);
}
.site-shell #main-content .chair-greeting__message {
  min-width: 0;
}
.site-shell #main-content .chair-greeting h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  color: var(--text-heading, var(--text));
}
.site-shell #main-content .chair-greeting__intro {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.65;
  color: var(--text);
}
.site-shell #main-content .chair-greeting__details {
  border-top: 1px solid var(--border-default);
  color: var(--text);
}
.site-shell #main-content .chair-greeting__details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 14px;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--link);
  border-radius: 6px;
}
.site-shell #main-content .chair-greeting__details > summary::-webkit-details-marker {
  display: none;
}
.site-shell #main-content .chair-greeting__text {
  max-width: none;
  columns: 2 40ch;
  column-gap: clamp(28px, 3vw, 48px);
  column-fill: balance;
  padding-block: 4px 12px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
}
.site-shell #main-content .chair-greeting__text p {
  margin: 0 0 18px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  break-inside: avoid-column;
  orphans: 3;
  widows: 3;
  text-wrap: pretty;
  hyphens: auto;
  hyphenate-limit-chars: 8 3 3;
}
.site-shell #main-content .chair-greeting :is(a, summary):focus-visible {
  outline: 3px solid var(--focus, var(--link));
  outline-offset: 3px;
}
.site-shell #main-content .chair-greeting :is(p, h2, a, summary) {
  overflow-wrap: break-word;
}
@media (max-width: 899px) {
  .site-shell #main-content .chair-greeting__card {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 20px;
  }
  .site-shell #main-content .chair-greeting__author {
    max-width: 360px;
  }
  .site-shell #main-content .chair-greeting__portrait {
    max-width: 240px;
  }
  .site-shell #main-content .chair-greeting__intro {
    font-size: 19px;
  }
  .site-shell #main-content .chair-greeting__text {
    font-size: 17px;
    column-count: 1;
  }
  .site-shell #main-content .chair-greeting__name {
    font-size: 22px;
  }
}

/* Canonical Templates_maket Home composition. Keep the existing Wagtail classes
   and carousel behavior; scope the palette and layout to the Home document. */
body:has(.home-shell) {
  --brand-blue:#075bd8;
  --brand-navy:#003a92;
  --border:var(--control-border,#7185a3);
  --home-heading:var(--text-heading);
  --home-muted:var(--text-secondary);
  --home-gap:16px;
  --home-radius:10px;
  --font-sans:"Segoe UI",Arial,sans-serif;
  background: var(--surface);
  color: var(--home-heading);
}

body:has(.home-shell) .container {
  width: min(100% - 68px, 1536px);
}

.home-shell {
  padding-bottom: 16px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.home-shell h2, .home-shell h3 {
  color: var(--home-heading);
}

.home-shell .section-heading {
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.home-shell .section-heading h2, .home-shell .services-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -0.6px;
}

.home-shell .section-heading__link {
  font-size: 13px;
  font-weight: 400;
  color: var(--link);
  text-decoration: none;
  white-space: nowrap;
}

.hero-slider {
  position: relative;
  isolation: isolate;
  width: min(100% - 68px, 1536px);
  margin: 16px auto 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--home-radius);
  background: var(--surface-soft);
}

.home-shell .hero-slider {
  margin-top: 0;
}

.hero-slider__track, .hero-slide {
  min-height: clamp(400px, 31.7vw, 520px);
}

.hero-slide {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-slide[hidden] {
  display: none;
}

.hero-slide__picture, .hero-slide__picture img {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__fallback-art {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: var(--portal-season-image, url("../images/home/hero-moscow-energy-v2.png")) center 55%/cover no-repeat;
}

.hero-slide__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9294117647) 0%, rgba(255, 255, 255, 0.6588235294) 27%, rgba(255, 255, 255, 0.0705882353) 49%, transparent 65%);
}

.home-shell .hero-slide__content.container {
  width: 100%;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 64px 32px 92px;
}

.hero-slide h1 {
  max-width: 740px;
  margin: 0 0 16px;
  color: var(--brand-navy);
  font-family: Arial, sans-serif;
  font-size: clamp(42px, 4.15vw, 60px);
  font-weight: 750;
  letter-spacing: -2px;
  line-height: 1.02;
}

.hero-slide h1 span {
  color: inherit;
}

.hero-slide__summary {
  max-width: 500px;
  margin: 0;
  color: var(--brand-navy);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.hero-slider__controls {
  position: absolute;
  left: 32px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-slider__controls[hidden] {
  display: none;
}

.home-shell .hero-slider__utilities {
  position: absolute;
  left: 32px;
  right: 316px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.home-shell .hero-slider__utilities .hero-slider__controls {
  position: static;
  flex: 0 0 auto;
}

.home-shell .home-hero-social {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow-x: auto;
  padding: 6px;
  margin: -6px;
  scrollbar-width: thin;
}

.home-shell .home-hero-social__link {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--block-edge, var(--border-default));
  border-radius: 8px;
  background: var(--surface-base, var(--surface));
  color: var(--brand-navy);
  text-decoration: none;
}
.home-shell .home-hero-social__link:is(:hover, :active) {
  border-color: var(--block-highlight, var(--link));
  background: var(--surface-soft);
}
.home-shell .home-hero-social__link:focus-visible {
  outline: 3px solid var(--block-highlight, var(--focus));
  outline-offset: 2px;
}

.home-shell .home-hero-social__logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #fff;
}
.home-shell .home-hero-social__logo img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .home-shell .hero-slider__utilities {
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 16px;
  }
}
.hero-slider__controls > button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--brand-blue);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--brand-blue);
  border-radius: 50%;
  background: var(--surface-raised);
  cursor: pointer;
}

.hero-slider__dots button[aria-current=true] {
  width: 14px;
  height: 14px;
  background: var(--brand-blue);
}

.hero-slide__accent {
  position: absolute;
  right: 9%;
  top: 42px;
  color: #002b91;
  font-family: Arial, sans-serif;
  font-size: clamp(24px, 2.7vw, 39px);
  font-style: normal;
  line-height: 1.12;
  text-align: center;
  pointer-events: none;
}

.hero-slide__accent {
  background: var(--surface-raised);
  color: var(--text-heading);
  padding: 12px 16px;
  border-radius: 8px;
  text-shadow: none;
  max-width: min(36%, 420px);
  overflow-wrap: anywhere;
}

.home-shell .hero-slide__accent--plain {
  font-family: Arial, sans-serif;
  font-style: normal;
  font-weight: 600;
  transform: none;
  line-height: 1.25;
}

.home-shell .hero-slide__accent--plain::after {
  content: none;
}

.home-shell .hero-slide__accent--image {
  width: min(28%, 360px);
  padding: 12px;
  background: #fff;
  transform: none;
}

.home-shell .hero-slide__accent--image::after {
  content: none;
}

.home-shell .hero-slide__accent--image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .home-shell .hero-slide__accent {
    max-width: calc(100% - 48px);
  }
  .home-shell .hero-slide__accent--image {
    width: min(65%, 280px);
  }
  .home-shell .hero-slide__accent--image img {
    max-height: 150px;
  }
}
@media (max-width: 1365px) {
  .home-shell .hero-slide__content.container:has(> :is(.hero-slide__accent--custom, .hero-slide__accent--image, .hero-slide__accent--plain)) {
    padding-bottom: 90px;
  }
  .home-shell .hero-slide__content > :is(.hero-slide__accent--custom, .hero-slide__accent--image, .hero-slide__accent--plain) {
    position: relative;
    inset: auto;
    align-self: flex-end;
    flex-shrink: 0;
    margin: 40px 0 0;
    max-width: min(100% - 32px, 420px);
  }
}
.hero-slide__brand-badge {
  position: absolute;
  right: 28px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--home-heading);
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.hero-slide__brand-badge .icon:first-child {
  width: 38px;
  height: 38px;
  color: var(--brand-blue);
}

.home-directions {
  padding-block: 10px;
  background: var(--surface);
}

.home-directions > div > h2:not(.sr-only) {
  font-size: 24px;
  margin-bottom: 12px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 8px;
}

.quick-link {
  display: grid;
  min-width: 0;
  min-height: 88px;
  grid-template-columns: 56px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--home-radius);
  background: var(--surface-raised);
  color: var(--home-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.18;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 103, 239, 0.0196078431);
}

.quick-link > span:not(:last-child) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.quick-link > .icon {
  width: 56px;
  height: 56px;
  padding: 12px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand-blue);
}

.quick-link > span:last-child {
  justify-self: end;
  color: var(--brand-blue);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.home-notice {
  padding-block: 10px;
}

.home-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.96fr 1fr;
  align-items: stretch;
  gap: 12px;
  padding-block: 4px 0;
}

.home-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--home-radius);
  background: var(--surface-raised);
  box-shadow: 0 6px 20px rgba(0, 85, 220, 0.031372549);
}

.home-panel .section-heading {
  gap: 8px;
}

.home-panel .section-heading h2 {
  font-size: 23px;
}

.home-panel .section-heading__link {
  font-size: 12px;
}

.compact-list, .document-list {
  display: grid;
  gap: 0;
}

.home-shell .compact-list .content-card {
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: none;
  background: transparent;
}

.home-shell .compact-list .content-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.home-shell .compact-list .content-card h3 a, .home-shell .document-card a {
  color: var(--home-heading);
  text-decoration: none;
}

.home-shell .compact-list .content-card .card__link, .home-shell .compact-list .content-card p:not(.card__meta):not(.event-card__location) {
  display: none;
}

.home-shell .news-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.news-card__image {
  display: block;
}

.news-card__image img {
  width: 96px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
}

.news-card__copy {
  min-width: 0;
}

.home-shell .news-card__copy .card__meta {
  margin: 8px 0 0;
}

.home-shell .card__meta {
  margin: 0 0 6px;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.15;
}

.home-shell .event-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.event-card__date {
  display: flex;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--brand-blue);
  line-height: 1;
}

.event-card__date strong {
  font-size: 30px;
  font-weight: 700;
}

.event-card__date span {
  font-size: 15px;
  font-weight: 700;
}

.home-shell .event-card .card__meta {
  display: none;
}

.home-shell .event-card__location {
  display: flex;
  gap: 4px;
  margin: 8px 0 0;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 1.3;
}

.event-card__location .icon {
  width: 12px;
  height: 15px;
  flex: 0 0 auto;
}

.home-shell .document-card {
  min-height: 102px;
  align-items: start;
  padding: 16px;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: none;
  background: transparent;
}

.home-shell .document-card > .icon {
  width: 32px;
  height: 40px;
  color: var(--brand-blue);
}

.home-shell .document-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
}

.home-shell .document-card .card__meta {
  display: none;
}

.document-card__file {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--home-muted);
}

.editorial-placeholder {
  padding: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.home-panel--quiz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-content: start;
  gap: 10px;
  background: var(--surface-raised);
}

.quiz-promo__body {
  display: contents;
}

.quiz-promo__body > h2 {
  display: flex;
  grid-column: 1/-1;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.7px;
}

.quiz-promo__body > h2 > .icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--brand-blue);
}

.quiz-promo__body > p {
  grid-column: 1/-1;
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.quiz-promo__body > p strong {
  display: block;
  margin-bottom: 4px;
  font-size: 21px;
}

.quiz-promo__body > p br {
  display: none;
}

.quiz-promo__actions {
  display: grid;
  grid-column: 1;
  gap: 12px;
  margin-top: 0;
}

.quiz-promo__qr {
  grid-column: 2;
  grid-row: 4;
  align-self: center;
  text-align: center;
}

.quiz-promo__qr img {
  width: 76px;
  height: 76px;
  padding: 3px;
  background: white;
}

.quiz-promo__qr span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
}

.quiz-promo__policy {
  grid-column: 1/-1;
  grid-row: 3;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.3;
}

.quiz-promo__policy strong {
  font-weight: 400;
}

.quiz-promo__policy > .icon {
  display: none;
}

.join-union {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 28%);
  min-height: 270px;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  margin-block: 20px 16px;
  padding: 26px 30px;
  border: 1px solid var(--border);
  border-radius: var(--home-radius);
  background: linear-gradient(90deg, rgba(237, 248, 255, 0.9803921569) 0%, rgba(237, 248, 255, 0.9294117647) 48%, rgba(237, 248, 255, 0.7882352941) 65%, rgba(237, 248, 255, 0) 80%), var(--join-union-image, url("../images/home/join-union-v2.png")) center/cover no-repeat;
}

.join-union h2 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1.3px;
}

.join-union p {
  margin: 0;
  color: var(--home-heading);
  font-size: 17px;
  line-height: 1.4;
}

.join-union__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.join-union__benefits {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  color: var(--home-heading);
  font-size: 15px;
  line-height: 1.3;
  list-style: none;
}

.join-union__benefits li {
  position: relative;
  padding-left: 32px;
}

.join-union__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-blue);
  color: white;
  font-size: 15px;
  font-weight: 700;
}

.join-union__accent {
  position: absolute;
  right: 26px;
  bottom: 20px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  text-shadow: none;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 28px;
  font-style: italic;
  line-height: 1;
  transform: rotate(-12deg);
}

.organization-carousel {
  margin-block: 12px;
  padding: 16px 28px 12px;
  border: 1px solid var(--border);
  border-radius: var(--home-radius);
  background: var(--surface-raised);
}

.organization-carousel .section-heading > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.organization-carousel .section-heading p {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--home-heading);
}

.section-heading__icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand-blue);
}

.section-heading__icon > .icon {
  width: 34px;
  height: 34px;
}

.organization-carousel__viewport {
  position: relative;
}

.organization-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--visible-cards) - 1) * 12px) / var(--visible-cards));
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-y;
  cursor: grab;
}

.organization-carousel__track::-webkit-scrollbar {
  display: none;
}

.organization-carousel__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.organization-carousel__track > * {
  scroll-snap-align: start;
}

.organization-card {
  display: flex;
  min-width: 0;
  min-height: 168px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-raised);
  color: var(--home-heading);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 103, 239, 0.0196078431);
}

.organization-card img, .organization-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.organization-card__image {
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--home-muted);
}

.organization-card__image > .icon {
  width: 44px;
  height: 44px;
}

.organization-card h3 {
  margin: 10px 12px 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.organization-card p {
  margin: 3px 12px 10px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.4;
}

.organization-card--all {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface-soft);
}

.organization-card--all > .icon {
  width: 68px;
  height: 68px;
  margin-bottom: 12px;
  color: #88bdf7;
}

.organization-card--all strong {
  font-size: 15px;
  line-height: 1.3;
}

.carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--brand-blue);
  font-size: 30px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.carousel-arrow--prev {
  left: -48px;
}

.carousel-arrow--next {
  right: -48px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 24px;
  margin-top: 10px;
}

.carousel-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #adcfff;
}

.carousel-dots i.is-active {
  width: 12px;
  height: 12px;
  background: var(--brand-blue);
}

.carousel-dots[hidden], .carousel-arrow[hidden] {
  display: none;
}

.carousel-arrow:disabled {
  opacity: 0.4;
  cursor: default;
  box-shadow: none;
}

.home-services, .home-contacts {
  margin-block: 16px;
  padding: 18px 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--home-radius);
  background: var(--surface-raised);
}

.services-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.services-heading > .icon {
  display: block;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand-blue);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-grid > a {
  display: grid;
  min-height: 100px;
  grid-template-columns: 64px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--home-heading);
  text-decoration: none;
}

.service-grid > a > .icon {
  width: 64px;
  height: 64px;
  padding: 15px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--brand-blue);
}

.service-grid strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
}

.service-grid small {
  display: block;
  margin-top: 8px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.3;
}

.contacts-strip {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr 0.9fr;
  gap: 16px;
}

.contacts-strip > div {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 18px;
  padding: 4px 20px 4px 8px;
  border-right: 1px solid var(--border);
  color: var(--home-heading);
  font-size: 14px;
  line-height: 1.35;
}

.contacts-strip > div:last-child {
  border: 0;
}

.contacts-strip .icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  color: var(--brand-blue);
}

.contacts-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
}

.contacts-strip a {
  color: var(--home-heading);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.theme--soft-blue {
  background: var(--surface-soft);
}

.theme--dark-blue {
  background: #003a92;
  color: white;
}

.theme--dark-blue h2, .theme--dark-blue h3 {
  color: white;
}

.spacing--compact {
  padding-block: 16px;
}

.spacing--normal {
  padding-block: 24px;
}

.spacing--spacious {
  padding-block: 48px;
}

[data-theme=dark] body:has(.home-shell) {
  --home-heading:var(--text-heading);
  --home-muted:var(--text-secondary);
  --brand-blue:#68b8ff;
  --border:var(--control-border,#7185a3);
}

[data-theme=dark] .hero-slide__shade {
  background: linear-gradient(90deg, rgba(16, 24, 45, 0.8784313725) 0%, rgba(16, 24, 45, 0.8196078431) 34%, rgba(16, 24, 45, 0.4) 50%, transparent 72%);
}

[data-theme=dark] .hero-slide h1, [data-theme=dark] .hero-slide__summary {
  color: #f5f8ff;
}

[data-theme=dark] .hero-slide__accent:not(.hero-slide__accent--calligraphy) {
  color: var(--text-heading);
  text-shadow: none;
}

[data-theme=dark] .join-union {
  background: linear-gradient(90deg, rgba(22, 36, 67, 0.9803921569) 0%, rgba(22, 36, 67, 0.9490196078) 48%, rgba(22, 36, 67, 0.8509803922) 65%, rgba(22, 36, 67, 0.062745098) 82%), var(--join-union-image, url("../images/home/join-union-v2.png")) center/cover no-repeat;
}

@media (max-width: 1279px) {
  .hero-slider {
    width: calc(100% - 40px);
  }
  body:has(.home-shell) .container {
    width: calc(100% - 40px);
  }
  .hero-slide h1 {
    max-width: 550px;
    font-size: 48px;
  }
  .hero-slide__summary {
    max-width: 440px;
    font-size: 18px;
  }
  .hero-slide__accent {
    right: 7%;
    font-size: 32px;
  }
  .home-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-panel {
    min-height: 310px;
  }
  .quick-link {
    grid-template-columns: 42px minmax(0, 1fr) 10px;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
  }
  .quick-link > .icon {
    width: 42px;
    height: 42px;
    padding: 8px;
  }
  .join-union h2 {
    font-size: 30px;
  }
  .organization-carousel__track {
    grid-auto-columns: calc((100% - 36px) / 4);
  }
  .carousel-arrow--prev {
    left: -34px;
  }
  .carousel-arrow--next {
    right: -34px;
  }
  .service-grid > a {
    gap: 10px;
    padding: 10px;
    grid-template-columns: 44px minmax(0, 1fr) 10px;
  }
  .service-grid > a > .icon {
    width: 44px;
    height: 44px;
    padding: 10px;
  }
  .service-grid strong {
    font-size: 15px;
  }
  .contacts-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }
  .contacts-strip > div:nth-child(2) {
    border-right: 0;
  }
}
@media (max-width: 767px) {
  .hero-slider {
    width: calc(100% - 32px);
    margin-top: 12px;
  }
  body:has(.home-shell) .container {
    width: calc(100% - 32px);
  }
  .home-shell {
    padding-bottom: 8px;
  }
  .hero-slider__track, .hero-slide {
    min-height: 610px;
  }
  .hero-slide__fallback-art {
    background-size: cover;
    background-position: 62% bottom;
    background-color: var(--surface);
  }
  .hero-slide__picture img {
    object-position: 62% bottom;
  }
  .hero-slide__shade {
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 40%, rgba(255, 255, 255, 0.7294117647) 55%, rgba(255, 255, 255, 0.0196078431) 74%);
  }
  .home-shell .hero-slide__content.container {
    padding: 36px 20px 220px;
  }
  .hero-slide h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -1.3px;
    margin-bottom: 18px;
  }
  .hero-slide__summary {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.4;
  }
  .hero-slide__actions {
    width: 100%;
    gap: 12px;
    margin-top: 20px;
  }
  .hero-slide__accent {
    top: auto;
    right: 22px;
    bottom: 105px;
    font-size: 22px;
  }
  .hero-slide__brand-badge {
    display: none;
  }
  .hero-slider__controls {
    left: 16px;
    bottom: 14px;
    gap: 12px;
  }
  .hero-slider__controls > button {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }
  .home-directions {
    padding-block: 12px;
  }
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .quick-link {
    min-height: 78px;
    grid-template-columns: 38px minmax(0, 1fr) 8px;
    gap: 6px;
    padding: 10px 8px;
    font-size: 13px;
  }
  .quick-link > .icon {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
  .quick-link:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .home-dashboard {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .home-panel {
    min-height: 0;
    padding: 18px;
  }
  .home-panel .section-heading h2 {
    font-size: 23px;
  }
  .home-shell .news-card {
    grid-template-columns: 94px minmax(0, 1fr);
  }
  .news-card__image img {
    width: 94px;
    height: 70.5px;
  }
  .home-shell .compact-list .content-card h3 {
    font-size: 17px;
  }
  .home-panel--quiz {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 14px;
  }
  .quiz-promo__qr img {
    width: 88px;
    height: 88px;
  }
  .quiz-promo__body > h2 {
    font-size: 23px;
  }
  .join-union {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: 20px;
    padding: 24px 24px 230px;
    background: linear-gradient(180deg, #edf8ff 0%, #edf8ff calc(100% - 230px), rgba(237, 248, 255, 0) calc(100% - 60px)), var(--join-union-image, url("../images/home/join-union-v2.png")) 65% bottom/auto 250px no-repeat;
  }
  .join-union h2 {
    font-size: 32px;
  }
  .join-union p {
    font-size: 16px;
  }
  .join-union__benefits {
    font-size: 14px;
    gap: 14px;
  }
  .join-union__accent {
    right: 16px;
    bottom: 20px;
    font-size: 24px;
  }
  .organization-carousel {
    padding: 16px;
  }
  .organization-carousel .section-heading {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .organization-carousel .section-heading h2 {
    font-size: 23px;
  }
  .organization-carousel .section-heading p {
    font-size: 13px;
  }
  .section-heading__icon {
    width: 44px;
    height: 44px;
  }
  .section-heading__icon > .icon {
    width: 28px;
    height: 28px;
  }
  .organization-carousel .section-heading__link {
    margin-left: 58px;
  }
  .organization-carousel__track {
    grid-auto-columns: calc((100% - 12px) * 0.78);
  }
  .organization-card img, .organization-card__image {
    height: auto;
    aspect-ratio: 16/9;
  }
  .organization-card {
    min-height: 196px;
  }
  .carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 25px;
  }
  .carousel-arrow--prev {
    left: -25px;
  }
  .carousel-arrow--next {
    right: -25px;
  }
  .home-services, .home-contacts {
    padding: 14px 16px 18px;
  }
  .services-heading {
    gap: 12px;
  }
  .home-shell .services-heading h2 {
    font-size: 24px;
  }
  .services-heading > .icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    padding: 8px;
  }
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .service-grid > a {
    min-height: 88px;
    grid-template-columns: 52px minmax(0, 1fr) 12px;
    padding: 12px;
    gap: 14px;
  }
  .service-grid > a > .icon {
    width: 52px;
    height: 52px;
    padding: 12px;
  }
  .service-grid strong {
    font-size: 17px;
  }
  .service-grid small {
    margin-top: 5px;
  }
  .contacts-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .contacts-strip > div {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .contacts-strip .icon {
    width: 36px;
    height: 36px;
  }
  [data-theme=dark] .hero-slide__shade {
    background: linear-gradient(180deg, #10182d 0%, #10182d 39%, rgba(16, 24, 45, 0.5882352941) 55%, rgba(16, 24, 45, 0.031372549) 83%);
  }
  [data-theme=dark] .join-union {
    background: linear-gradient(180deg, #162443 0%, #162443 calc(100% - 230px), rgba(22, 36, 67, 0.0196078431) calc(100% - 60px)), var(--join-union-image, url("../images/home/join-union-v2.png")) 65% bottom/auto 250px no-repeat;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none !important;
  }
  .organization-carousel__track {
    scroll-behavior: auto;
  }
}
.home-shell .home-dashboard > .container {
  width: auto;
  margin-inline: 0;
}

.home-shell > .content-collection {
  margin-block: 12px;
}

.home-panel--quiz .hero-slide__actions {
  display: grid;
  grid-column: 1;
  gap: 12px;
  margin: 0;
}

.organization-card .organization-card__map {
  width: 83px;
  height: 68px;
  margin-bottom: 12px;
  object-fit: contain;
  border-radius: 8px;
}

.home-shell .news-card:not(:has(.news-card__image)), .home-shell .event-card:not(:has(.event-card__date)) {
  grid-template-columns: minmax(0, 1fr);
}

.home-dashboard > .home-panel:only-child {
  grid-column: 1/-1;
}

.home-shell .section-heading h2, .home-shell .services-heading h2 {
  font-weight: 650;
  letter-spacing: -0.7px;
}
.home-shell .quick-link, .home-shell .service-grid > a, .home-shell .organization-card {
  transition: border-color 0.18s, box-shadow 0.18s;
}
.home-shell :is(.quick-link, .service-grid > a, .organization-card):hover {
  border-color: #80b6f5;
  box-shadow: 0 6px 20px rgba(0, 85, 220, 0.0705882353);
}
.home-shell :is(.quick-link, .service-grid > a, .organization-card):focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}
.home-shell .home-panel--quiz {
  background: linear-gradient(145deg, #f4faff, #e8f3ff);
  border-color: #a6ceff;
}
.home-shell .quiz-promo__body > h2 {
  font-size: 21px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.home-shell .quiz-promo__body > p {
  font-size: 14px;
  line-height: 1.5;
}
.home-shell .quiz-promo__body > p strong {
  font-size: 20px;
  line-height: 1.4;
}
.home-shell .quiz-promo__policy {
  padding: 12px;
  margin-block: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6666666667);
  line-height: 1.5;
  font-size: 13px;
}
.home-shell .quiz-promo__qr img {
  border-radius: 6px;
  padding: 5px;
}
.home-shell .quiz-promo__qr span {
  color: var(--home-muted);
  line-height: 1.4;
}
.home-shell .home-services {
  background: linear-gradient(135deg, #f4faff, #fff);
}
.home-shell .service-grid > a {
  background: var(--surface-raised);
}
.home-shell .home-contacts {
  background: var(--surface-raised);
}
.home-shell .join-union__benefits {
  line-height: 1.5;
}
.home-shell .home-panel .section-heading {
  flex-wrap: wrap;
  row-gap: 6px;
}

[data-theme=dark] .home-shell {
  --home-heading:#edf4ff;
  --home-muted:#b5c7df;
  --border:var(--control-border,#7185a3);
  background: linear-gradient(180deg, #10182d, #101c30);
}
[data-theme=dark] .home-shell .home-directions {
  background: #10182d;
}
[data-theme=dark] .home-shell .quick-link {
  background: #192b44;
  color: #edf4ff;
}
[data-theme=dark] .home-shell .quick-link > .icon, [data-theme=dark] .home-shell .section-heading__icon, [data-theme=dark] .home-shell .services-heading > .icon {
  background: #243a55;
  color: #88c4ff;
}
[data-theme=dark] .home-shell .home-panel {
  background: #18283f;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.0784313725);
}
[data-theme=dark] .home-shell .home-panel--events {
  background: #1b2e47;
}
[data-theme=dark] .home-shell .home-panel--documents {
  background: #19283b;
}
[data-theme=dark] .home-shell .home-panel--quiz {
  background: linear-gradient(145deg, #243d5f, #183049);
  border-color: #476887;
}
[data-theme=dark] .home-shell .quiz-promo__policy {
  background: rgba(16, 31, 52, 0.6);
  color: #d3e2f5;
}
[data-theme=dark] .home-shell .organization-carousel {
  background: #17263b;
}
[data-theme=dark] .home-shell .organization-card {
  background: #20334b;
}
[data-theme=dark] .home-shell .organization-card--all {
  background: #213e59;
}
[data-theme=dark] .home-shell .organization-card__map {
  filter: invert(1) hue-rotate(180deg) brightness(1.8);
  mix-blend-mode: screen;
}
[data-theme=dark] .home-shell .home-services {
  background: linear-gradient(130deg, #213b54, #182a40);
}
[data-theme=dark] .home-shell .service-grid > a {
  background: #20334b;
}
[data-theme=dark] .home-shell .service-grid > a > .icon {
  background: #2a4562;
}
[data-theme=dark] .home-shell .home-contacts {
  background: #17283c;
}
[data-theme=dark] .home-shell .hero-slide__brand-badge {
  background: rgba(25, 45, 67, 0.9294117647);
  border-color: #496b8c;
  color: #eaf3ff;
}
[data-theme=dark] .home-shell .hero-slider__controls > button {
  background: #1b3049;
  border-color: #57789d;
}
[data-theme=dark] .home-shell .compact-list h3 a, [data-theme=dark] .home-shell .document-card a, [data-theme=dark] .home-shell .contacts-strip a {
  color: var(--home-heading);
}

[data-theme=dark] body.site-shell .home-shell :is(.quick-link, .service-grid > a, .organization-card, .compact-list h3 a, .document-card a, .contacts-strip a) {
  color: var(--home-heading);
}

@media (max-width: 767px) {
  .home-shell .hero-slide__accent {
    font-size: 24px;
    bottom: 90px;
    right: 24px;
  }
  .home-shell .hero-slide__summary {
    font-size: 16px;
    line-height: 1.5;
  }
  .home-shell .quick-link {
    font-size: 13px;
    line-height: 1.4;
  }
  .home-shell .organization-carousel .section-heading h2 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-shell :is(.quick-link, .service-grid > a, .organization-card) {
    transition: none;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .home-shell .hero-slide h1 {
    max-width: 360px;
    font-size: 38px;
  }
  .home-shell .hero-slide__summary {
    max-width: 340px;
    font-size: 16px;
  }
  .home-shell .hero-slide__accent {
    right: 20px;
    font-size: 24px;
  }
  .home-shell .hero-slide__shade {
    background: linear-gradient(90deg, var(--surface), color-mix(in srgb, var(--surface) 90%, transparent) 55%, transparent 90%);
  }
}
.home-shell :is(.home-panel, .home-services, .home-contacts, .home-directions, .organization-carousel).theme--dark-blue {
  --home-heading:#edf4ff;
  --home-muted:#bed4ec;
  --border:var(--control-border,#7185a3);
  --surface-raised:#18365a;
  --surface-soft:#234870;
  --brand-blue:#79c1ff;
  background: linear-gradient(135deg, #143457, #1b4268);
  color: var(--home-heading);
}
.home-shell :is(.home-panel, .home-services, .home-contacts, .home-directions, .organization-carousel).theme--dark-blue :is(.quick-link, .service-grid > a, .organization-card) {
  background: var(--surface-raised);
  color: var(--home-heading);
}
.home-shell :is(.home-panel, .home-services, .home-contacts, .home-directions, .organization-carousel).theme--dark-blue .quiz-promo__policy {
  background: rgba(16, 41, 68, 0.6);
  color: var(--home-heading);
}

.home-shell .card__meta {
  font-size: 14px;
  line-height: 1.4;
}
.home-shell .event-card__location {
  font-size: 13px;
  line-height: 1.45;
}
.home-shell .event-card__location .icon {
  width: 16px;
  height: 16px;
}
.home-shell .document-card__file {
  font-size: 14px;
  line-height: 1.45;
}
.home-shell .quiz-promo__policy, .home-shell .quiz-promo__qr span {
  font-size: 14px;
  line-height: 1.5;
}
.home-shell .quiz-promo__body > p, .home-shell .quiz-promo__policy {
  font-size: 15px;
  line-height: 1.5;
}
.home-shell .home-panel--quiz {
  grid-template-columns: minmax(0, 1fr) 96px;
  grid-template-rows: auto auto auto auto;
  align-content: space-between;
  row-gap: 14px;
}
.home-shell .quiz-promo__policy {
  padding: 0;
  background: transparent;
  align-self: start;
}
.home-shell :is(.quiz-promo__actions, .home-panel--quiz .hero-slide__actions) {
  grid-row: 4;
  align-self: end;
}
.home-shell .quiz-promo__qr {
  align-self: end;
}
.home-shell .quiz-promo__qr img {
  width: 96px;
  height: 96px;
}

@media (max-width: 767px) {
  .home-shell .home-panel--quiz {
    grid-template-columns: minmax(0, 1fr) 88px;
  }
  .home-shell .quiz-promo__qr img {
    width: 88px;
    height: 88px;
  }
  .home-shell .quick-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-shell .quick-link {
    grid-template-columns: 44px minmax(0, 1fr) 16px;
    min-height: 72px;
    padding: 12px;
    gap: 12px;
    font-size: 16px;
  }
  .home-shell .quick-link > .icon {
    width: 44px;
    height: 44px;
    padding: 8px;
  }
  .home-shell .quick-link:last-child:nth-child(odd) {
    grid-column: auto;
  }
}
@media (min-width: 992px) {
  [data-theme=dark] .home-shell .hero-slide__shade {
    background: linear-gradient(90deg, rgba(16, 24, 45, 0.8784313725) 0%, rgba(16, 24, 45, 0.7215686275) 34%, rgba(16, 24, 45, 0.2705882353) 50%, transparent 72%);
  }
}
.home-shell .home-panel.home-panel--quiz {
  container-type: inline-size;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  align-content: start;
  gap: 20px;
  min-width: 0;
  height: auto;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__body {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__body > h2 {
  grid-column: auto;
  align-items: start;
  font-size: 21px;
  line-height: 1.35;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__body > p {
  grid-column: auto;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__summary {
  font-weight: 600;
  color: var(--home-heading, var(--text));
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__policy {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--home-muted, var(--text-muted));
  font-size: 16px;
  line-height: 1.5;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__policy > .icon {
  display: block;
  width: 20px;
  height: 20px;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__policy p {
  margin: 0;
  overflow-wrap: anywhere;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__actions {
  display: grid;
  grid-column: auto;
  grid-row: auto;
  gap: 12px;
  align-self: start;
  margin: 0;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__actions .button {
  width: 100%;
  min-width: 0;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__qr {
  display: block;
  grid-column: auto;
  grid-row: auto;
  align-self: start;
  justify-self: center;
  width: min(100%, 180px);
  color: var(--text);
  text-decoration: none;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__qr:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__qr:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__qr img {
  display: block;
  width: 144px;
  height: 144px;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  margin-inline: auto;
  background: #fff;
  filter: none;
}
.home-shell .home-panel.home-panel--quiz .quiz-promo__qr span {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 8px;
}

body.site-shell--home > .portal-footer {
  --icon-color: var(--footer-link);
  --icon-hover: var(--footer-link);
  --icon-active: var(--footer-link);
}

.home-shell .hero-slide__accent--calligraphy {
  --hero-note-surface:#fff;
  --hero-note-text:#1d2c59;
  background: var(--hero-note-surface);
  color: var(--hero-note-text);
  padding: 20px 26px 14px;
  border-radius: 10px;
  border: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  line-height: 1.25;
  letter-spacing: normal;
  transform: rotate(-5deg);
  box-shadow: 0 8px 24px rgba(16, 35, 74, 0.14);
  text-shadow: none;
}
.home-shell .hero-slide__accent--calligraphy .hero-slide__accent-text {
  color: inherit;
}
.home-shell .hero-slide__accent--calligraphy .hero-slide__accent-flourish {
  display: block;
  width: 100%;
  height: 24px;
  margin: 4px auto 0;
  color: inherit;
}
.home-shell .hero-slide__accent--calligraphy[data-font-state=ready] {
  font-family: "DOV_1", Arial, sans-serif;
  font-size: clamp(36px, 3.6vw, 50px);
  line-height: 1.3;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
}

@media (min-width: 768px) and (max-width: 1365px) {
  .home-shell .hero-slide__content.container:has(> .hero-slide__accent--calligraphy.hero-slide__accent--custom) {
    padding-bottom: 124px;
  }
}
@media (min-width: 1366px) {
  .home-shell .hero-slide__content.container:has(> .hero-slide__accent--calligraphy.hero-slide__accent--custom) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    column-gap: 4%;
    align-content: start;
    align-items: start;
    padding-right: 9%;
    padding-bottom: 110px;
  }
  .home-shell .hero-slide__content.container:has(> .hero-slide__accent--calligraphy.hero-slide__accent--custom) > :not(.hero-slide__accent) {
    grid-column: 1;
  }
  .home-shell .hero-slide__content.container:has(> .hero-slide__accent--calligraphy.hero-slide__accent--custom) > .hero-slide__accent--calligraphy.hero-slide__accent--custom {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1/span 4;
    justify-self: end;
    align-self: start;
    max-width: 100%;
    margin: 0;
  }
}
@media (max-width: 767px) {
  .home-shell .hero-slide__content.container:has(> .hero-slide__accent--calligraphy) {
    padding-bottom: 80px;
  }
  .home-shell .hero-slide__accent--calligraphy {
    position: relative;
    inset: auto;
    align-self: flex-end;
    flex-shrink: 0;
    margin: 24px 10px 0 0;
    max-width: calc(100% - 16px);
    padding: 12px 12px 10px;
    font-size: 22px;
  }
  .home-shell .hero-slide__accent--calligraphy .hero-slide__accent-flourish {
    height: 18px;
  }
  .home-shell .hero-slide__accent--calligraphy[data-font-state=ready] {
    font-size: 36px;
    line-height: 1.3;
  }
}
