:root {
  --bg: #fbfbf8;
  --surface: #ffffff;
  --surface-soft: #f5f1fb;
  --text: #1f2230;
  --muted: #5f6675;
  --line: rgba(45, 45, 55, 0.12);
  --purple: #7a3a96;
  --purple-dark: #5a2774;
  --yellow: #f1b52f;
  --green: #96c94e;
  --blue: #58a9df;
  --mint: #edf7e4;
  --peach: #fcf1df;
  --lavender: #f3edf9;
  --powder: #eef5fb;
  --shadow: 0 18px 45px rgba(45, 45, 55, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1260px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Oxygen Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-display: ui-serif, Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(122, 58, 150, 0.08), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(241, 181, 47, 0.09), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

h1,
h2,
h3,
.brand-text strong,
.brand-text span {
  font-family: var(--font-display);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 32px;
}

p.has-tertiary-background-color.has-background,
.wp-block-column.has-tertiary-background-color.has-background,
.wp-block-group.has-tertiary-background-color.has-background {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.6), transparent 28%),
    linear-gradient(180deg, #f7f1fb 0%, #f2ebf8 100%);
  border: 1px solid rgba(122, 58, 150, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px rgba(122, 58, 150, 0.06);
}

.topbar,
.hero,
.recruitment-banner,
.values,
.offer,
.footer {
  margin-bottom: 18px;
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  z-index: 30;
}

.shared-sun {
  position: absolute;
  width: 118px;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 31;
  transform: rotate(var(--shared-sun-rotate, 0deg));
  transform-origin: center center;
  filter: drop-shadow(0 18px 28px rgba(43, 53, 68, 0.08));
}

.shared-sun--topbar {
  top: 26px;
  right: 18px;
  z-index: 31;
}

.topbar:not(.is-nav-ready) .nav,
.topbar:not(.is-nav-ready) .menu-btn {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: none;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.brand-text strong {
  font-size: 21px;
  font-weight: 800;
  background: linear-gradient(90deg, #f6bf30 0%, #f08b2f 22%, #e15634 40%, #7f4ce0 64%, #43a6d9 82%, #8abf2d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text span {
  font-size: 21px;
  font-weight: 700;
  background: linear-gradient(90deg, #7f4ce0 0%, #4f3ccf 18%, #2b7ed8 40%, #1fb3a2 62%, #7cb53b 82%, #e46a38 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  justify-content: center;
  font-size: 15px;
  color: #242733;
  overflow: visible;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: 100%;
  flex-wrap: nowrap;
}

.nav-menu > li {
  position: relative;
  flex: 0 1 auto;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(122, 58, 150, 0.07);
  border: 1px solid rgba(122, 58, 150, 0.08);
  font-weight: 600;
  white-space: nowrap;
  max-width: 100%;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu .current-menu-parent > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu .current_page_parent > a {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  border-color: transparent;
  transform: none;
  box-shadow: 0 10px 18px rgba(122, 58, 150, 0.15);
}

.nav-menu > li:has(.current-menu-item) > a,
.nav-menu > li:has(.current_page_item) > a,
.nav-menu > li:has(.current-menu-parent) > a,
.nav-menu > li:has(.current-menu-ancestor) > a {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  border-color: transparent;
}

.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 12px 12px 12px;
  list-style: none;
  display: none;
  gap: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(122, 58, 150, 0.08);
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(45, 45, 55, 0.14);
  z-index: 50;
}

.nav-menu .sub-menu a {
  width: 100%;
  justify-content: flex-start;
  white-space: normal;
}

.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu,
.nav-menu > li.submenu-open > .sub-menu {
  display: grid;
}

.nav-menu .menu-item-has-children > a::after {
  content: "▾";
  margin-left: 8px;
  font-size: 0.8em;
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(122, 58, 150, 0.18);
}

.button--ghost {
  background: #fff;
  border-color: rgba(36, 39, 51, 0.18);
  color: #2c2e39;
}

.button--small {
  min-height: 42px;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(122, 58, 150, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(122, 58, 150, 0.08) 0%, rgba(122, 58, 150, 0.04) 100%);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--purple);
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.menu-btn:hover {
  border-color: rgba(122, 58, 150, 0.32);
  background: linear-gradient(180deg, rgba(122, 58, 150, 0.12) 0%, rgba(122, 58, 150, 0.06) 100%);
}

.menu-btn:focus-visible {
  outline: 3px solid rgba(122, 58, 150, 0.22);
  outline-offset: 3px;
}

.topbar.is-open .menu-btn {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(122, 58, 150, 0.18);
}

.topbar.is-open .menu-btn span {
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.12fr;
  gap: 26px;
  align-items: center;
  padding: 8px 24px 0;
}

.hero-copy {
  max-width: 620px;
  padding: 22px 4px 22px 8px;
}

.hero-copy__text {
  display: grid;
  gap: 0;
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 5vw, 4.95rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.hero-title {
  display: grid;
  gap: 0;
}

.split-title {
  display: inline;
}

.split-title--stacked {
  display: inline-grid;
  gap: 0.04em;
  align-items: start;
}

.split-title__main {
  color: var(--purple);
}

.split-title__accent {
  background: linear-gradient(90deg, #6440b8 0%, #0083d3 28%, #57b14b 56%, #d67c3c 80%, #c3327c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.split-title__gap {
  display: inline;
}

.split-title__main,
.split-title__accent {
  display: inline;
}

.split-title--stacked .split-title__main,
.split-title--stacked .split-title__accent {
  display: block;
  line-height: 1;
}

.hero p,
.recruitment-banner p,
.value p,
.offer-card p,
.footer p {
  color: var(--muted);
}

.hero p {
  max-width: 510px;
  margin: 0 0 24px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  position: relative;
  width: min(100%, 740px);
  display: block;
  padding-bottom: 10px;
}

.hero-photo__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  transform: none;
  mix-blend-mode: normal;
  filter: drop-shadow(0 28px 60px rgba(43, 53, 68, 0.1));
}

.hero-photo__accent {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.hero-photo__accent--brush {
  right: 6%;
  bottom: 1%;
  width: 158px;
  transform: rotate(-7deg);
}

.hero-photo__accent--dots {
  left: -10%;
  bottom: 6%;
  width: 124px;
  transform: rotate(-11deg);
}

.card,
.offer-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.recruitment-banner {
  position: relative;
  display: grid;
  grid-template-columns: 166px minmax(0, 1fr) 210px;
  gap: 12px;
  align-items: center;
  justify-items: center;
  padding: 28px 30px;
  min-height: 190px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #f4f0fb 0%, #f7f3fc 100%);
}

.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-areas:
    "icon content"
    "icon button";
  gap: 10px 18px;
  align-items: center;
  justify-items: center;
  margin: 24px 0;
  padding: 18px 30px;
  min-height: 160px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #f4f0fb 0%, #f7f3fc 100%);
}

.recruitment-banner h2,
.cta-banner h2,
.offer h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.1vw, 2.4rem);
  font-weight: 600;
}

.recruitment-banner h2,
.cta-banner h2 {
  color: #7c3f98;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 10px;
  font-size: clamp(1.92rem, 2.8vw, 3rem);
  line-height: 1.04;
}

.recruitment-banner h2::after,
.cta-banner h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 108px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1b52f 0%, #f6d46b 100%);
}

.recruitment-banner__lead,
.cta-banner__lead {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.72;
  display: grid;
  gap: 6px;
}

.recruitment-banner__lead span,
.cta-banner__lead span {
  display: block;
}

.recruitment-banner__content {
  display: grid;
  gap: 10px;
  align-self: center;
  justify-self: start;
  margin-left: -2px;
  min-width: 0;
  max-width: 100%;
}

.cta-banner__content {
  grid-area: content;
  display: grid;
  gap: 6px;
  align-self: center;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
}

.recruitment-banner__megaphone {
  position: relative;
  display: block;
  width: 154px;
  height: auto;
  justify-self: center;
  align-self: center;
}

.cta-banner__icon {
  grid-area: icon;
  position: relative;
  display: block;
  width: 128px;
  height: auto;
  justify-self: center;
  align-self: center;
}

.recruitment-banner__button {
  justify-self: center;
  align-self: center;
  min-width: 188px;
  margin-right: 0;
  margin-top: 2px;
  color: #fff !important;
  text-shadow: none;
}

.cta-banner__button {
  grid-area: button;
  grid-column: 1 / -1;
  justify-self: center;
  align-self: center;
  min-width: 208px;
  margin-top: 0;
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  background-clip: padding-box;
  box-shadow: 0 14px 30px rgba(122, 58, 150, 0.18);
}

.page-accent--recruitment-leaf,
.page-accent--recruitment-dots {
  display: none;
}

.banner-star {
  display: none;
}

.values {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 18px 8px 0;
}

.value {
  padding: 16px 14px 10px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.value:last-child {
  border-right: 0;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  object-fit: contain;
  display: block;
}

.value-icon--green {
  filter: none;
}

.value-icon--yellow {
  filter: none;
}

.value-icon--violet {
  filter: none;
}

.value-icon--blue {
  filter: hue-rotate(190deg) saturate(2.3) brightness(0.95);
}

.value h3,
.offer-card h3,
.footer h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.2;
}

.value p {
  margin: 0;
  font-size: 14px;
}

.offer {
  padding: 0 8px 0;
}

.page-section {
  padding: 10px 8px 0;
}

.offer h2 {
  text-align: center;
  margin-bottom: 18px;
}

.page-section h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(1.6rem, 2.1vw, 2.4rem);
  font-weight: 600;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(var(--hw-offer-columns, 4), minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.page-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.offer-card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(122, 58, 150, 0.08);
  box-shadow: 0 12px 28px rgba(42, 29, 52, 0.07);
}

.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.18));
  pointer-events: none;
}

.offer-card__thumb {
  position: relative;
  height: 108px;
  border-radius: 18px;
  margin-bottom: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}

.offer-card__thumb img,
.offer-card__thumb > span {
  display: block;
  width: 100%;
  height: 100%;
}

.offer-card__thumb img {
  object-fit: cover;
  object-position: center center;
}

.offer-card__thumb > span {
  background: transparent;
}

.thumb-1 {
  background:
    radial-gradient(circle at 17% 70%, rgba(255,255,255,0.9) 0 5%, transparent 6%),
    linear-gradient(135deg, #7dbd57, #385f2a);
}

.thumb-2 {
  background:
    radial-gradient(circle at 80% 14%, rgba(255,255,255,0.35) 0 10%, transparent 11%),
    linear-gradient(135deg, #e2b26a, #ad7640);
}

.thumb-3 {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22) 0 10%, transparent 11%),
    linear-gradient(135deg, #6d4b43, #2b1f24);
}

.thumb-4 {
  background:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,0.4) 0 8%, transparent 9%),
    linear-gradient(135deg, #b7d1e8, #6f8db5);
}

.offer-card--mint { background: linear-gradient(180deg, #f5faef, #f3f7eb); }
.offer-card--peach { background: linear-gradient(180deg, #fcf4e4, #fbefdc); }
.offer-card--lavender { background: linear-gradient(180deg, #f7f1fb, #f3edf9); }
.offer-card--blue { background: linear-gradient(180deg, #f0f6fb, #ebf3f8); }

.offer-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.18;
}

.offer-card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
}

.offer-card__link {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  color: inherit;
}

.offer-card__link .news-card__link {
  color: #6b3f9a;
  font-size: 14px;
  font-weight: 700;
}

.footer {
  display: grid;
  grid-template-columns: 0.95fr 2fr;
  gap: 24px;
  padding: 22px 24px 18px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.footer-brand p {
  max-width: 280px;
  margin: 14px 0 0;
  font-size: 14px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(122, 58, 150, 0.08);
  border: 1px solid rgba(122, 58, 150, 0.12);
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.footer-social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: none;
}

.footer-social__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-social__label {
  line-height: 1;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  transform: translateY(-1px);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.footer-columns section {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-columns a {
  color: var(--muted);
  font-size: 14px;
}

.brand--footer .brand-text strong {
  font-size: 14px;
}

.brand--footer .brand-text span {
  font-size: 15px;
}

.brand--footer .brand-logo {
  width: 54px;
  height: 54px;
}

.main {
  position: relative;
}

.page-intro {
  margin: 8px 8px 18px;
  padding: 26px 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-page > * {
  position: relative;
  z-index: 1;
}

.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(122, 58, 150, 0.08);
  border: 1px solid rgba(122, 58, 150, 0.12);
  color: var(--purple);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.page-back-link:hover,
.page-back-link:focus-visible {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  transform: translateY(-1px);
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(1.95rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.page-intro p {
  margin: 10px 0 0;
  max-width: 99ch;
  color: var(--muted);
}

.page-intro__image {
  margin-top: 18px;
  max-width: 99ch;
}

.page-intro__image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(42, 29, 52, 0.10);
}

.page-intro--small {
  padding-top: 16px;
  padding-bottom: 12px;
  margin-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: none;
}

.content-page {
  position: relative;
  margin: 8px;
  padding: 0;
  overflow: hidden;
}

.content-body {
  display: grid;
  grid-template-columns: minmax(0, 99ch) minmax(0, 1fr);
  column-gap: 28px;
  max-width: none;
  margin: 0;
  --content-pad-x: 28px;
  padding: 18px var(--content-pad-x) 30px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.content-body > * {
  grid-column: 1;
  min-width: 0;
}

.content-body > *:first-child {
  margin-top: 0;
}

.content-body > * + * {
  margin-top: 1em;
}

.content-body > *:last-child {
  margin-bottom: 0;
}

.content-body h2,
.content-body h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 1.6em 0 0.6em;
}

.content-body h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.content-body h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
}

.content-body p,
.content-body li {
  margin: 0 0 1em;
}

.content-body li {
  margin: 0;
}

.content-body > p:first-of-type {
  margin-top: 0.1em;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text);
}

.content-body > p:first-of-type strong {
  font-weight: 700;
}

.content-body > p:first-of-type + p {
  margin-top: 0.7em;
}

.content-body ul,
.content-body ol {
  margin: 0 0 0.8em 1.1em;
  padding: 0;
}

.content-body ul,
.content-body ol,
.content-body li {
  line-height: 1.75;
}

.content-body li + li {
  margin-top: 0;
}

.content-body li > p {
  margin-bottom: 0;
}

.content-body blockquote {
  margin: 1.2em 0;
  padding: 28px 24px;
  border-left: 4px solid var(--purple);
  background: transparent;
  border-radius: 0 18px 18px 0;
  color: var(--text);
}

.content-body blockquote p:last-child {
  margin-bottom: 0;
}

.content-body blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92em;
  font-style: normal;
}

.content-body .wp-block-pullquote {
  margin: 1.1em 0;
  padding: 12px 0;
}

.content-body .wp-block-pullquote blockquote {
  margin: 0;
  padding: 28px 22px;
  background: transparent;
}

.content-body .wp-block-pullquote p {
  margin: 0;
}

.content-body .wp-block-pullquote cite {
  margin-top: 8px;
}

.content-body a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.content-body strong {
  font-weight: 700;
}

.content-body em {
  color: inherit;
}

.content-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

.content-body pre {
  margin: 1.5em 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-radius: 18px;
  background: #f6f7fb;
  border: 1px solid rgba(36, 39, 51, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  line-height: 1.6;
}

.content-body code,
.content-body kbd,
.content-body samp {
  padding: 0.16em 0.38em;
  border-radius: 8px;
  background: rgba(122, 58, 150, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.95em;
}

.content-body .wp-block-table {
  overflow-x: auto;
}

.content-body th,
.content-body td {
  padding: 12px 14px;
  border: 1px solid rgba(36, 39, 51, 0.12);
  text-align: left;
  vertical-align: top;
}

.content-body th {
  background: rgba(122, 58, 150, 0.06);
  font-weight: 700;
}

.content-body figure {
  margin: 1.6em 0;
}

.content-body figure,
.content-body .wp-block-image,
.content-body .gallery-item {
  overflow: hidden;
  border-radius: 18px;
}

.content-body:has(.wp-block-image > figure.alignright),
.content-body:has(.wp-block-image > figure.alignleft) {
  display: block;
  max-width: 99ch;
}

.content-body:has(.wp-block-image > figure.alignright) > *,
.content-body:has(.wp-block-image > figure.alignleft) > * {
  max-width: 100%;
}

.content-body .wp-block-image {
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.content-body img {
  display: block;
  max-width: 100%;
  height: auto;
}

.content-body img.wp-smiley,
.content-body img.emoji,
.content-body img[src*="emoji.php"] {
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
  max-width: none !important;
  vertical-align: -0.15em;
}

.content-body :where(.alignwide, .alignfull) {
  grid-column: 1 / -1;
  min-width: 0;
}

.content-body .alignwide {
  width: 100%;
  max-width: none;
}

.content-body .alignfull {
  width: calc(100% + (var(--content-pad-x) * 2));
  max-width: none;
  margin-inline: calc(var(--content-pad-x) * -1);
}

.content-body .wp-block-image img {
  width: 100%;
  height: auto;
}

.content-body .wp-block-image > figure.alignright,
.content-body .wp-block-image > figure.alignleft {
  display: block;
  width: min(420px, 42%);
  margin: 0;
}

.content-body .wp-block-image > figure.alignright {
  float: right;
  margin: 0 0 1.2em 1.5em;
}

.content-body .wp-block-image > figure.alignleft {
  float: left;
  margin: 0 1.5em 1.2em 0;
}

.content-body .wp-block-image > figure.alignright img,
.content-body .wp-block-image > figure.alignleft img {
  width: 100% !important;
  max-width: none !important;
}

.content-body .wp-block-gallery figure img,
.content-body .gallery-item img,
.content-body .gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.content-body figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.content-body .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.6em 0;
}

.content-body .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(122, 58, 150, 0.18);
}

.content-body .wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff;
  color: var(--purple);
  border: 1px solid rgba(122, 58, 150, 0.22);
  box-shadow: none;
}

.content-body .wp-block-separator {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

.content-body .wp-block-gallery,
.content-body .gallery,
.content-body .wp-block-gallery.has-nested-images {
  --hw-gallery-columns: 2;
  --hw-gallery-gap: 18px;
  display: grid;
  justify-items: stretch;
  align-items: start;
  gap: var(--hw-gallery-gap);
  width: 100%;
  margin: 1.8em 0;
  grid-template-columns: repeat(var(--hw-gallery-columns-current, var(--hw-gallery-columns, 2)), minmax(0, 1fr));
}

.content-body .wp-block-gallery.has-nested-images > figure.wp-block-image,
.content-body .gallery-item {
  width: 100% !important;
  margin: 0 !important;
  min-width: 0;
}

.content-body .wp-block-gallery figure,
.content-body .wp-block-gallery .wp-block-image,
.content-body .gallery-item {
  margin: 0;
  background: #fff;
  box-shadow: 0 12px 24px rgba(45, 45, 55, 0.08);
}

.content-body .wp-block-gallery figure img,
.content-body .wp-block-gallery .wp-block-image img,
.content-body .gallery img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.content-body .wp-block-gallery.has-nested-images > figure.wp-block-image img {
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 900px) {
  .content-body {
    display: block;
    max-width: 100%;
  }

  .content-body:has(.wp-block-image > figure.alignright),
  .content-body:has(.wp-block-image > figure.alignleft) {
    max-width: 100%;
  }

  .content-body .wp-block-image > figure.alignright,
  .content-body .wp-block-image > figure.alignleft {
    float: none;
    width: 100%;
    margin: 1.2em 0;
  }

  .content-body .wp-block-gallery,
  .content-body .gallery,
  .content-body .wp-block-gallery.has-nested-images {
    --hw-gallery-gap: 12px;
    margin: 1.2em 0;
  }
}

.content-body .wp-block-quote.is-style-large p {
  font-size: 1.12em;
  line-height: 1.65;
}

.post-hero {
  padding: 0 28px 4px;
}

.post-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.news-section {
  padding: 10px 8px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.1vw, 2.4rem);
  font-weight: 600;
}

.section-head a {
  color: var(--purple);
  font-weight: 700;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.news-grid--archive {
  grid-template-columns: repeat(2, 1fr);
}

.news-card,
.news-empty,
.empty-state {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.news-card a {
  display: block;
  height: 100%;
}

.news-card__thumb {
  position: relative;
  height: clamp(150px, 12vw, 168px);
  background: linear-gradient(135deg, #eef4fb, #f7efe3);
  overflow: hidden;
}

.news-card__thumb img,
.news-card__thumb span {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__thumb img {
  object-position: center 35%;
}

.news-card__thumb span {
  background:
    radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.6) 0 12%, transparent 13%),
    linear-gradient(135deg, #7dbd57, #385f2a);
}

.news-card__body {
  padding: 18px 18px 20px;
}

.news-card__meta {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.news-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.news-card__body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.news-card__link {
  color: var(--purple);
  font-weight: 700;
}

.news-empty,
.empty-state {
  padding: 24px 28px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

  .hero-visual {
    order: 0;
    min-height: 360px;
  }

  .hero-photo__accent {
    display: none;
  }

  .values,
  .offer-grid,
  .page-links-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .value {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }

  .value:last-child {
    border-bottom: 0;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .recruitment-banner {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    justify-items: center;
  }

  .recruitment-banner__button,
  .banner-star {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "content"
      "button";
    gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .cta-banner h2 {
    white-space: normal;
  }

  .cta-banner__content {
    justify-self: center;
  }

  .cta-banner__lead {
    max-width: none;
    text-align: center;
  }

  .cta-banner__icon {
    width: 120px;
  }

  .cta-banner__button {
    grid-column: auto;
    justify-self: center;
    min-width: 176px;
  }
}

.topbar.is-compact-nav .nav {
  position: absolute;
  right: 24px;
  top: calc(100% + 12px);
  width: min(360px, calc(100vw - 48px));
  display: grid;
  gap: 0;
  padding: 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition:
    max-height 0.28s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  box-shadow: 0 20px 42px rgba(45, 45, 55, 0.14);
  backdrop-filter: blur(12px);
  z-index: 3000;
  pointer-events: none;
  overflow: hidden;
}

.topbar.is-compact-nav .nav-menu {
  width: 100%;
  display: grid;
  gap: 10px;
}

.topbar.is-compact-nav .nav-menu a {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(122, 58, 150, 0.08);
  color: var(--text);
  justify-content: flex-start;
  text-align: left;
  white-space: normal;
  text-wrap: balance;
  line-height: 1.2;
}

.topbar.is-compact-nav .nav-menu > li.menu-item-has-children > a {
  display: none;
}

.topbar.is-compact-nav .nav-menu > li.menu-item-has-children > a::after {
  content: none;
}

.topbar.is-compact-nav .nav-menu a:hover,
.topbar.is-compact-nav .nav-menu .current-menu-item > a,
.topbar.is-compact-nav .nav-menu .current_page_item > a,
.topbar.is-compact-nav .nav-menu .current_page_parent > a,
.topbar.is-compact-nav .nav-menu .current-menu-parent > a,
.topbar.is-compact-nav .nav-menu .current-menu-ancestor > a {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
}

.topbar.is-compact-nav .nav-menu .sub-menu {
  position: static;
  display: grid;
  min-width: 0;
  padding: 0;
  margin-top: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: 8px;
}

.topbar.is-compact-nav .nav-menu .sub-menu a {
  min-height: 42px;
  padding: 10px 14px;
  background: rgba(122, 58, 150, 0.05);
  color: var(--text);
  justify-content: flex-start;
  text-align: left;
}

.topbar.is-compact-nav .nav-menu .sub-menu a:hover {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
}

.topbar.is-compact-nav .nav-menu .sub-menu .current-menu-item > a,
.topbar.is-compact-nav .nav-menu .sub-menu .current_page_item > a,
.topbar.is-compact-nav .nav-menu .sub-menu .current-menu-parent > a,
.topbar.is-compact-nav .nav-menu .sub-menu .current-menu-ancestor > a {
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
}

.topbar.is-compact-nav .nav {
  display: none;
}

.topbar.is-compact-nav .menu-btn {
  display: inline-flex;
  margin-left: auto;
  flex: none;
}

.topbar.is-compact-nav.is-open .nav {
  display: grid;
  max-height: calc(100vh - 110px);
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.topbar.is-compact-nav,
.topbar.is-open {
  z-index: 2000;
}

@media (max-width: 820px) {
  .topbar {
    align-items: center;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero {
    position: relative;
    z-index: 1;
  }

  .button--primary.button--small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    order: 0;
    min-height: 360px;
  }

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

  .values,
  .offer-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .value {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }

  .value:last-child {
    border-bottom: 0;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 720px) {
  .page-shell {
    width: min(var(--max), calc(100% - 18px));
    margin-top: 9px;
  }

  .topbar,
  .hero,
  .recruitment-banner,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 15vw, 3.3rem);
  }

  .hero-title {
    gap: 0.08em;
  }

  .split-title {
    display: inline;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 260px;
  }

  .news-grid,
  .news-grid--archive {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .recruitment-banner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .recruitment-banner h2 {
    white-space: normal;
  }

  .recruitment-banner__content {
    justify-self: start;
    margin-left: 0;
  }

  .recruitment-banner__lead {
    max-width: none;
  }

  .recruitment-banner__megaphone {
    width: 112px;
  }

  .recruitment-banner__button {
    grid-column: auto;
    justify-self: start;
    min-width: 0;
    width: auto;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }

  .cta-banner h2 {
    white-space: normal;
  }

  .cta-banner__content {
    justify-self: start;
  }

  .cta-banner__lead {
    max-width: none;
    text-align: left;
  }

  .cta-banner__icon {
    width: 112px;
  }

  .cta-banner__button {
    grid-column: auto;
    justify-self: start;
    min-width: 0;
    width: auto;
  }

  .banner-star {
    justify-self: start;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .offer-card__thumb {
    height: 110px;
  }

  .content-body,
  .post-hero,
  .page-intro {
    padding-left: 18px;
    padding-right: 18px;
  }

  .content-body {
    --content-pad-x: 18px;
  }

  .page-intro {
    margin-left: 0;
    margin-right: 0;
  }

  .shared-sun {
    display: none;
  }
}
