/* Block: cms-hero (hero) - Order: 1 */
.cms-hero-section {
  --color-bg: var(--color-background, #f7f8fa);
  --color-shape: var(--color-primary-light, #e5f0fa);
  --color-title: var(--color-title, #212529);
  --color-desc: var(--color-text, #48505b);
  --color-focus: var(--color-accent, #2368a2);
  --shadow-main: 0 4px 24px rgba(20,32,55,0.08);
  --shadow-img: 0 2px 8px rgba(30,48,87,0.11);
  --br-main: 1.25rem;
  --br-img: 0.75rem;
  --font-title: var(--font-title, 'Poppins', 'Helvetica Neue', Arial, sans-serif);
  --font-body: var(--font-body, 'Inter', 'Segoe UI', Arial, sans-serif);
  --fs-title-d: var(--font-size-hero, 2.7rem);
  --fs-title-t: 2.2rem;
  --fs-title-m: 1.55rem;
  --fs-desc-d: 1.25rem;
  --fs-desc-m: 1.05rem;
  --lh-title: 1.17;
  --lh-desc: 1.6;
  --space-v-main: 5.5rem;
  --space-v-t: 3.5rem;
  --space-v-m: 2.3rem;
  background: var(--color-bg);
  min-width: 100vw;
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: flex-start;
}

.cms-hero-background-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 340px;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.cms-hero-background-shape svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cms-hero-background-shape ellipse {
  fill: var(--color-shape);
  transition: fill 0.4s cubic-bezier(0.4,0,0.2,1);
}

.cms-hero-container {
  position: relative;
  max-width: 1060px;
  margin-right: auto;
  margin-left: auto;
  padding: var(--space-v-main) 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  gap: 2.8rem;
}

.cms-hero-header {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0.6rem;
}

.cms-hero-title {
  font-family: var(--font-title);
  color: var(--color-title);
  font-size: var(--fs-title-d);
  font-weight: 700;
  line-height: var(--lh-title);
  letter-spacing: -0.8px;
  margin-bottom: 0.45em;
  transition: color 0.22s cubic-bezier(0.4,0,0.2,1);
}

.cms-hero-description {
  font-family: var(--font-body);
  color: var(--color-desc);
  font-size: var(--fs-desc-d);
  line-height: var(--lh-desc);
  font-weight: 400;
  margin: 0 auto 0.25em;
  max-width: 38em;
  transition: color 0.22s cubic-bezier(0.4,0,0.2,1);
}

.cms-hero-figure {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: 960px;
  border-radius: var(--br-img);
  overflow: hidden;
  box-shadow: var(--shadow-img);
  background: #fff;
  transition: box-shadow 0.32s cubic-bezier(0.4,0,0.2,1), transform 0.32s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  outline: none;
}

.cms-hero-figure:focus-visible {
  box-shadow: 0 0 0 4px var(--color-focus), var(--shadow-img);
}

.cms-hero-figure:hover,
.cms-hero-figure:focus-visible {
  transform: scale(1.018) translateY(-2px);
  box-shadow: 0 4px 32px rgba(45,90,170,0.16), 0 2px 8px rgba(26,38,83,0.12);
}

.cms-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12/5;
  object-fit: cover;
  border-radius: var(--br-img);
  background: linear-gradient(180deg, #f6f7fa 0%, #eaf0f6 100%);
  transition: filter 0.44s cubic-bezier(0.4,0,0.2,1), opacity 0.44s cubic-bezier(0.4,0,0.2,1);
  filter: brightness(97%) contrast(104%) drop-shadow(0 0px 10px rgba(123,152,196,0.04));
  opacity: 0.97;
}

.cms-hero-figure:hover img,
.cms-hero-figure:focus-visible img {
  filter: brightness(101%) contrast(107%);
  opacity: 1;
}

@media (max-width: 1024px) {
  .cms-hero-container {
    padding: var(--space-v-t) 1.4rem;
    gap: 2.3rem;
    max-width: 94vw;
  }
  .cms-hero-title {
    font-size: var(--fs-title-t);
  }
  .cms-hero-description {
    font-size: 1.12rem;
  }
  .cms-hero-figure {
    max-width: 770px;
  }
  .cms-hero-background-shape {
    height: 220px;
  }
}

@media (max-width: 767px) {
  .cms-hero-section {
    min-width: 0;
  }
  .cms-hero-background-shape {
    height: 120px;
  }
  .cms-hero-container {
    padding: var(--space-v-m) 0.7rem 1.5rem 0.7rem;
    gap: 1.5rem;
    max-width: 100vw;
  }
  .cms-hero-header {
    padding-bottom: 0.25rem;
    max-width: 99vw;
  }
  .cms-hero-title {
    font-size: var(--fs-title-m);
    line-height: 1.19;
    text-align: left;
    margin-bottom: 0.32em;
  }
  .cms-hero-description {
    font-size: var(--fs-desc-m);
    text-align: left;
  }
  .cms-hero-figure {
    max-width: 99vw;
    border-radius: 0.55rem;
  }
  .cms-hero-figure img {
    border-radius: 0.55rem;
  }
}

@media (min-width: 1600px) {
  .cms-hero-container {
    max-width: 1300px;
    gap: 3.7rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .cms-hero-figure {
    max-width: 1200px;
  }
  .cms-hero-background-shape {
    height: 400px;
  }
}

.cms-hero-title:focus-visible,
.cms-hero-description:focus-visible {
  outline: 2.5px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--br-main);
}

.cms-hero-title,
.cms-hero-description {
  background: transparent;
}

.cms-hero-header {
  user-select: text;
}

.cms-hero-section:focus-within {
  box-shadow: 0 0 0 4px var(--color-focus);
}

/* Block: cms-content (content) - Order: 2 */
.cms-content-section {
  width: 100vw;
  background: var(--color-bg, #fafbfc);
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 0;
}
.cms-content-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cms-content-main {
  font-family: var(--font-family-body, 'Inter', Arial, sans-serif);
  font-size: var(--font-size-md, 1.125rem);
  color: var(--color-text, #222c35);
  background: none;
  line-height: 1.7;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  word-break: break-word;
}
.cms-content-main h1,
.cms-content-main h2,
.cms-content-main h3,
.cms-content-main h4,
.cms-content-main h5,
.cms-content-main h6 {
  font-family: var(--font-family-heading, 'Inter', Arial, sans-serif);
  margin-top: 2.3em;
  margin-bottom: 0.7em;
  line-height: 1.18;
  color: var(--color-primary, #2254F6);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cms-content-main h1 { font-size: var(--font-size-xl, 2.5rem);}
.cms-content-main h2 { font-size: var(--font-size-lg, 1.875rem);}
.cms-content-main h3 { font-size: var(--font-size-md, 1.25rem);}
.cms-content-main h4,
.cms-content-main h5,
.cms-content-main h6 { font-size: var(--font-size-sm, 1.06rem);}
.cms-content-main h1:first-child,
.cms-content-main h2:first-child { margin-top: 0; }
.cms-content-main p {
  margin: 1.5em 0;
  font-size: inherit;
  color: inherit;
}
.cms-content-main ul,
.cms-content-main ol {
  margin: 1.5em 0 1.5em 2em;
  padding: 0;
}
.cms-content-main a {
  color: var(--color-link, #2254F6);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.18s;
}
.cms-content-main a:hover,
.cms-content-main a:focus {
  color: var(--color-link-hover, #113399);
  outline: none;
}
.cms-content-main img {
  max-width: 100%;
  border-radius: 14px;
  display: block;
  margin: 2.2em auto;
  box-shadow: 0 2px 11px 0 rgba(26,41,64,0.08);
  transition: box-shadow 0.28s cubic-bezier(0.36,0.4,0.31,1), filter 0.28s;
}
.cms-content-main img:hover,
.cms-content-main img:focus {
  box-shadow: 0 4px 20px 0 rgba(34,84,246,0.12);
  filter: brightness(1.04);
}
.cms-content-card {
  background: var(--color-surface, #fff);
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(26,41,64,0.08);
  padding: 36px 30px 32px 30px;
  transition: box-shadow 0.22s cubic-bezier(.42,.01,.42,.98), transform 0.18s cubic-bezier(.2,.7,.3,1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.cms-content-card:focus-within,
.cms-content-card:hover {
  box-shadow: 0 7px 28px 0 rgba(34,84,246,0.15), 0 3px 18px 0 rgba(26,41,64,0.04);
  transform: translateY(-2px) scale(1.015);
}
.cms-content-secondary,
.cms-content-tertiary {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.cms-content-secondary-body,
.cms-content-tertiary-body {
  font-family: var(--font-family-body, 'Inter', Arial, sans-serif);
  font-size: var(--font-size-md, 1.08rem);
  color: var(--color-text-secondary, #253045);
  line-height: 1.6;
  margin: 0;
  word-break: break-word;
}
.cms-content-secondary-body h3,
.cms-content-tertiary-body h3,
.cms-content-secondary-body h2,
.cms-content-tertiary-body h2 {
  margin-top: 0;
  margin-bottom: 0.7em;
  color: var(--color-primary, #2254F6);
}
.cms-content-secondary-body ul,
.cms-content-tertiary-body ul,
.cms-content-secondary-body ol,
.cms-content-tertiary-body ol {
  margin-left: 1.8em;
  margin-bottom: 1.3em;
}
.cms-content-secondary-body a,
.cms-content-tertiary-body a {
  color: var(--color-link, #2254F6);
  transition: color 0.18s;
  text-underline-offset: 0.17em;
}
.cms-content-secondary-body a:hover,
.cms-content-tertiary-body a:hover,
.cms-content-secondary-body a:focus,
.cms-content-tertiary-body a:focus {
  color: var(--color-link-hover, #113399);
  outline: none;
}
.cms-content-deco-shape {
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: none;
  width: 42vw;
  height: 26vw;
  min-width: 280px;
  min-height: 180px;
  z-index: 0;
}
@media (max-width: 767px) {
  .cms-content-container {
    max-width: 100vw;
    padding: 24px 0 46px 0;
    gap: 28px;
  }
  .cms-content-main {
    font-size: var(--font-size-base, 1rem);
    padding: 0 18px;
  }
  .cms-content-main img {
    margin: 1.5em auto;
    border-radius: 11px;
  }
  .cms-content-card {
    padding: 22px 12px 20px 12px;
    border-radius: 14px;
  }
  .cms-content-secondary-body,
  .cms-content-tertiary-body {
    font-size: var(--font-size-base, 1rem);
    padding: 0;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cms-content-container {
    max-width: 96vw;
    padding: 32px 10px 50px 10px;
    gap: 35px;
  }
  .cms-content-main {
    font-size: var(--font-size-md, 1.08rem);
    padding: 0 16px;
  }
  .cms-content-card {
    padding: 26px 18px 26px 18px;
    border-radius: 16px;
  }
  .cms-content-secondary-body,
  .cms-content-tertiary-body {
    font-size: var(--font-size-md, 1.04rem);
    padding: 0;
  }
}
@media (min-width: 1280px) {
  .cms-content-container {
    max-width: 900px;
    padding: 76px 0 90px 0;
    gap: 46px;
  }
  .cms-content-main {
    font-size: var(--font-size-lg, 1.29rem);
    padding: 0 24px;
  }
  .cms-content-main img {
    border-radius: 18px;
    margin: 2.5em auto;
  }
  .cms-content-card {
    padding: 54px 46px 40px 46px;
    border-radius: 28px;
  }
  .cms-content-secondary-body,
  .cms-content-tertiary-body {
    font-size: var(--font-size-lg, 1.18rem);
  }
}
@media (min-width: 1800px) {
  .cms-content-container {
    max-width: 1160px;
    padding-left: 0;
    padding-right: 0;
  }
}
