html {
  min-height: 100%;
  display: flex;
}

body {
  margin: 0;
  color: var(--Text-Black-Default);
  background: var(--Background-LightGrey);
  box-sizing: border-box;
  font-family: var(--font-family-base);
  width: 100%;
  display: flex;
  flex-direction: row;
}

body * {
  box-sizing: border-box;
}

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

.white-text {
  color: var(--Text-White-Button);
}

.black-text {
  color: var(--Text-Black-Default);
}

.preview-content {
  flex-grow: 1;
}

body[data-current-route="/"] .sidebar {
  display: none;
}

.page {
  display: none;
  flex-direction: column;
  flex-grow: 1;
  background: var(--Components-White-Default);
}

body[data-current-route="/"]
  .page[data-route-id="/"] {
  display: flex;
}

body[data-current-route="/intro"]
  .page[data-route-id="/intro"] {
  display: flex;
}

body[data-current-route="/summary"]
  .page[data-route-id="/summary"] {
  display: flex;
}

body[data-current-route="/exam"]
  .page[data-route-id="/exam"] {
  display: flex;
}

body[data-current-route="/glossary"]
  .page[data-route-id="/glossary"] {
  display: flex;
}

body[data-current-route^="/lessons/"]
  .page[data-route-id="/lessons/"] {
  display: flex;
}

@media (max-width: 1023px) {
  body {
    flex-direction: column;
  }
}

.buttons-footer {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--Border-Primary);
  padding: 24px  var(--content-horizontal-padding);
  background: var(--Background-White);
  justify-content: space-between;
}

@media (max-width: 1023px) {
  .buttons-footer {
    padding: 16px  var(--content-horizontal-padding);
  }
}

@media (min-width: 480px) {
  .exam-form__buttons {
    flex-direction: row;
  }
}

@media (max-width: 479px) {
  .buttons-footer {
    flex-direction: column;

    .btn {
      width: auto !important;
    }
  }
}

/* buttons.css */
.btn {
  width: max-content;
  background: none;
  color: inherit;

  /* .layout-row-center */
  display: inline-block;
  flex-direction: row;
  align-items: center !important;

  cursor: pointer;
  text-decoration: none;

  font-family: inherit;

  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;

  transition: all 0.2s ease;

  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;

  /*.btn--middle*/
  padding: 16px 18px 18px 20px;
  border-radius: 14px;

  /* .body-16 */
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.1px;
}

/* Primary Button */
.btn--primary {
  color: var(--Text-White-Button);
  background: var(--Components-Blue-Default);
  border-color: transparent;
}

.btn--primary:hover {
  background: var(--Components-Blue-Hover);
}

.btn--primary:disabled {
  background: var(--Components-Blue-Disabled);
  color: var(--Text-White-Button-Disabled);
}

/* Secondary Button */
.btn--secondary {
  color: var(--Text-Black-Default);
  background: var(--Components-Neutral-Secondary-Default);
  border-color: transparent;
}

.btn--secondary:hover {
  background: var(--Components-Neutral-Secondary-Hover);
}

.btn--secondary:disabled {
  background: var(--Components-Neutral-Secondary-Disabled);
  color: var(--Text-Black-Disabled);
}


/* Outline Button */
.btn--outline {
  color: var(--Text-Black-Default);
  background: transparent;
  border: 2px solid var(--Border-Primary);
}

.btn--outline:hover {
  border: 2px solid var(--Components-Neutral-Secondary-Active);
}

.btn--outline:disabled {
  background: var(--Components-Neutral-Secondary-Disabled);
  color: var(--Text-Black-Disabled);
}

/* Размеры кнопок */
.btn--middle {
  padding: 16px 18px 18px 20px;
  border-radius: 14px;

  /* .body-16 */
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.1px;
}

.btn--small {
  padding: 7px 12px;
  border-radius: 9px;

  /* .body-14 */
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.1px;
}

/* Состояния */
.btn:disabled {
  cursor: not-allowed;
  transform: none !important;
}

.gap-24px {
    gap: 24px;
}

.gap-16px {
    gap: 16px;
}

.gap-12px {
    gap: 12px;
}

.gap-8px {
    gap: 8px;
}

.gap-4px {
    gap: 4px;
}

.markdown-content a {
  text-decoration: underline;
  color: inherit;
}

.markdown-content img {
  max-width: 100%;
}

.markdown-content .markdown-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 16px auto;
  border-radius: 12px;
  overflow: hidden;
  background: var(--Background-LightGrey);
  border: 1px solid var(--Border-Secondary);
}

.markdown-content .markdown-video-wrapper::before {
  content: "";
  display: block;
  /* соотношение сторон 16:9 (9/16 = 0.5625) */
  padding-top: 56.25%;
}

.markdown-content .markdown-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.markdown-content blockquote {
  border-left: 8px solid var(--Components-Yellow-Default);
  margin: 0;
  padding: 48px 0 48px 40px;
}

.markdown-content blockquote p {
  margin: 0;
}

.markdown-content code {
  background: var(--Background-LightGrey);
  font-size: 14px;
  line-height: 20px;
  padding: 2px 4px;
}

.markdown-content pre > code {
  display: block;
  border: 1px solid var(--Border-Primary);
  padding: 12px 14px;
  border-radius: 8px;
  position: relative;
  margin: 12px 0;
  overflow-x: auto;
}

.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  overflow: hidden;
}

.markdown-content th,
.markdown-content td {
  border: 1px solid var(--Border-Primary);
  padding: 8px 10px;
  vertical-align: top;
  text-align: left;
}

.markdown-content th > p,
.markdown-content td > p {
  margin: 0;
}

@media (max-width: 767px) {
  .markdown-content blockquote {
    padding: 16px 0 16px 8px;
  }
}

.textarea {
  width: 100%;
  padding: 13px 12px;

  resize: vertical;
  transition: all 0.2s ease;

  font-family: inherit;

  border-radius: 6px;
  border: 1px solid var(--Components-Neutral-Secondary-Hover);
  background: var(--Components-White-Default);
  color: var(--Text-Black-Default);

  /* .body-16 */
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.1px;
}

.textarea:focus {
  outline: none;
  border-color: var(--Components-Blue-Default);
}

.textarea::placeholder {
  color: var(--Text-Black-Additional);
}

.textarea:disabled {
  background: var(--Components-Neutral-Secondary-Hover);
  color: var(--Text-Black-Disabled);
  cursor: not-allowed;
}

:root {
  /* Fonts */
  --font-family-base: "Raleway Num";

  /* App dimensions */
  --app-header-height: 72px;

  /* Breakpoints */
  --breakpoint-xs: 320px;
  --breakpoint-sm: 480px;
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
  --breakpoint-lg: 1440px;
  --breakpoint-xl: 1920px;

  /* Content horizontal paggings */
  --content-horizontal-padding-xs: 16px;
  --content-horizontal-padding-sm: 16px;
  --content-horizontal-padding-mobile: 16px;
  --content-horizontal-padding-tablet: 24px;
  --content-horizontal-padding-lg: 100px;
  --content-horizontal-padding-xl: 180px;


  /* Z-index scale */
  --z-index-default: 0;
  --z-index-invalid-control: 1;
  --z-index-active-control: 2;
  --z-index-subheader: 10;
  --z-index-dropdown: 100;
  --z-index-tooltip: 500;
  --z-index-overlay: 999;
  --z-index-modal: 1000;
  --z-index-datepicker: 5000;
  --z-index-toaster: 6000;
  --z-index-loader: 10000;

  /* Colors */
  --Background-Overlay: #36565680;
  --Background-Grey: #f2f2f2;
  --Background-White: #ffffff;
  --Background-LightGrey: #f5f5f5;

  --Text-Black-Default: #292c33;
  --Text-Black-Additional: #8e929a;
  --Text-Black-Label: #acb0b5;
  --Text-Black-Disabled: #cfd1d5;

  --Text-White-Button: #ffffff;
  --Text-White-Button-Disabled: #ffffff99;

  --Icon-Disabled: #cdd1d6;

  --Border-Primary: #ced1d6;
  --Border-Secondary: #e5e8e9;

  --Components-Neutral-Secondary-Default: #ebedf0;
  --Components-Neutral-Secondary-Hover: #ced1d6;
  --Components-Neutral-Secondary-Active: #a6abb3;
  --Components-Neutral-Secondary-Disabled: #f7f7f7;

  --Components-Yellow-Default: #F67B00;
  --Components-Yellow-Hover: #c36100;

  --Components-Blue-Default: #313238;
  --Components-Blue-Hover: #010101;
  --Components-Blue-Active: #19191c;
  --Components-Blue-Disabled: #484a53;
  --Components-Blue-Background: #EBEBEB;

  --Components-White-Default: #ffffff;

  --Status-Error-Default: #f14056;
  --Status-Error-Background: #feedee;

  --Status-Success-Default: #88c63a;
  --Status-Success-Background: #f3f9eb;

  /* Box Shadows */
  --BoxShadow-Z0: 0 1px 2px 0 rgba(41, 44, 51, 0.1);
  --BoxShadow-Z100: 0 2px 10px -2px rgba(41, 44, 51, 0.13);
  --BoxShadow-Z300: 0 4px 16px -4px rgba(41, 44, 51, 0.13);
  --BoxShadow-Z500: 0 8px 32px -8px rgba(41, 44, 51, 0.16);

  --BoxShadow-Z0-White: 0 0 0 1px rgba(41, 44, 51, 0.12);
  --BoxShadow-Z100-White: 0 2px 10px -2px rgba(41, 44, 51, 0.13),
    0 0 1px 0 rgba(41, 44, 51, 0.15);
  --BoxShadow-Z300-White: 0 4px 16px -4px rgba(41, 44, 51, 0.13),
    0 0 1px 0 rgba(41, 44, 51, 0.15);
  --BoxShadow-Z500-White: 0 8px 32px -8px rgba(41, 44, 51, 0.26),
    0 0 1px 0 rgba(41, 44, 51, 0.16);

  --BoxShadow-Z500-Popover: 0 8px 32px -8px rgba(41, 44, 51, 0.3),
    0 -2px 6px 0 rgba(41, 44, 51, 0.06), 0 0 1px 0 rgba(41, 44, 51, 0.4);
}

.with-scrollbar-hidden {
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.with-scrollbar-hidden::-webkit-scrollbar {
  display: none;
}

.with-scrollbar {
  overflow: auto;
}

@supports selector(::-webkit-scrollbar) {
  .with-scrollbar {
    --webkit-scrollbar-width: 10px;
    --webkit-scrollbar-height: 10px;
  }

  .with-scrollbar::-webkit-scrollbar {
    width: var(--webkit-scrollbar-width);
    height: var(--webkit-scrollbar-height);
  }

  .with-scrollbar::-webkit-scrollbar-thumb {
    width: 6px;
    min-height: 30px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: var(--Border-Primary);
    background-clip: padding-box;
  }

  .with-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: var(--Components-Neutral-Secondary-Active);
  }

  .with-scrollbar::-webkit-scrollbar-track-piece,
  .with-scrollbar::-webkit-scrollbar-corner {
    background-color: var(--Background-LightGrey);
  }
}

@supports not selector(::-webkit-scrollbar) {
  .with-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--Border-Primary) var(--Background-LightGrey);
  }
}

/* Layout helpers */
.layout-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout-column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.layout-column {
  display: flex;
  flex-direction: column;
}

.layout-row {
  display: flex;
  flex-direction: row;
}

.layout-row-center {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* Visibility helpers */
.visible-xs,
.visible-sm,
.visible-mobile,
.visible-tablet,
.visible-lg,
.visible-xl,
.visible-xxl {
  display: none;
}

.hidden-xs,
.hidden-sm,
.hidden-mobile,
.hidden-tablet,
.hidden-lg,
.hidden-xl,
.hidden-xxl {
  display: initial;
}

/* XS (до 320px) */
@media (max-width: 319px) {
  :root {
    --content-horizontal-padding: var(--content-horizontal-padding-xs);
  }
  .visible-xs {
    display: initial;
  }
  .hidden-xs {
    display: none;
  }
}

/* SM (321px – 480px) */
@media (min-width: 320px) and (max-width: 479px) {
  :root {
    --content-horizontal-padding: var(--content-horizontal-padding-sm);
  }
  .visible-sm {
    display: initial;
  }
  .hidden-sm {
    display: none;
  }
}

/* Mobile (481px – 768px) */
@media (min-width: 480px) and (max-width: 767px) {
  :root {
    --content-horizontal-padding: var(--content-horizontal-padding-mobile);
  }
  .visible-mobile {
    display: initial;
  }
  .hidden-mobile {
    display: none;
  }
}

/* Tablet (769px – 1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --content-horizontal-padding: var(--content-horizontal-padding-tablet);
  }
  .visible-tablet {
    display: initial;
  }
  .hidden-tablet {
    display: none;
  }
}

/* Large (1025px – 1440px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  :root {
    --content-horizontal-padding: var(--content-horizontal-padding-lg);
  }
  .visible-lg {
    display: initial;
  }
  .hidden-lg {
    display: none;
  }
}

/* XL (1440px – 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
  :root {
    --content-horizontal-padding: var(--content-horizontal-padding-xl);
  }
  .visible-xl {
    display: initial;
  }
  .hidden-xl {
    display: none;
  }
}

/* XXL (1920px и выше) */
@media (min-width: 1920px) {
  :root {
    --content-horizontal-padding: var(--content-horizontal-padding-xl);
  }
  .visible-xxl {
    display: initial;
  }
  .hidden-xxl {
    display: none;
  }
}

.hidden {
  display: none !important;
}

.disabled-link {
  pointer-events: none;
  cursor: default;
  opacity: 0.6;
}

/* Base typography */
.display {
  font-size: 64px;
  font-weight: 800;
  line-height: 72px;
}

.h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
  letter-spacing: -1px;
}

.h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -1px;
}

.h3 {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

.h4 {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.h5 {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}

.h6 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.h7 {
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

.h8 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.1px;
}

.subtitle-32 {
  font-size: 38px;
  font-weight: 600;
  line-height: 40px;
}

.subtitle-28 {
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
}

.subtitle-24 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.subtitle-20-semi {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.subtitle-20-bold {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.body-20 {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.1px;
}

.body-20-semi {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.1px;
}

.body-20-bold {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.1px;
}

.body-18 {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.1px;
}

.body-18-semi {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.1px;
}

.body-18-bold {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.1px;
}

.body-16 {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.1px;
}

.body-16-semi {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.body-16-bold {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.1px;
}

.body-14 {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.1px;
}

.body-14-semi {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: -0.1px;
}

.body-14-bold {
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: -0.1px;
}

.body-12 {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.1px;
}

.body-12-semi {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.1px;
}

.label {
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.1px;
  text-transform: uppercase;
}

/* responsive классы */

.h3-resp {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

.h4-resp {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.h6-resp {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.h7-resp {
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

.body-16-resp {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.1px;
}

.body-18-resp {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.1px;
}

.body-18-bold-resp {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.1px;
}

/* медиа запросы */

@media (max-width: 1439px) {
}

@media (max-width: 1023px) {
  .body-16-resp {
    font-size: 14px;
    line-height: 18px;
  }
  .h3-resp {
    font-size: 32px;
    line-height: 40px;
  }
}

@media (max-width: 767px) {
  .h3-resp {
    font-size: 24px;
    line-height: 32px;
  }
  .h4-resp {
    font-size: 24px;
    line-height: 32px;
  }
  .h6-resp {
    font-size: 20px;
    line-height: 28px;
  }
  .body-18-resp {
    font-size: 16px;
    line-height: 22px;
  }
  .body-18-bold-resp {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 479px) {
  .h7-resp {
    font-size: 20px;
    line-height: 28px;
  }
}

.atom-checkbox {
  --checkbox-size: 18px;

  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;

  padding: 20px 16px;
  border-radius: 16px;
  border: 1px solid var(--Border-Primary);
  background-color: var(--Background-White);

  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.atom-checkbox__input {
  appearance: none;
  width: var(--checkbox-size);
  height: var(--checkbox-size);
  margin-top: 2px;
  flex-shrink: 0;

  border-radius: 50%;
  border: 1px solid var(--Border-Primary);
  background-color: var(--Components-White-Default);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.atom-checkbox__input::after {
  content: "";
  width: 4px;
  height: 7px;
  border-right: 2px solid var(--Components-White-Default);
  border-bottom: 2px solid var(--Components-White-Default);
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.15s ease;
  margin-top: -2px;
}

.atom-checkbox__input:checked {
  border-color: var(--Components-Blue-Default);
  background-color: var(--Components-Blue-Default);
  box-shadow: 0 0 0 1px rgba(85, 85, 234, 0.3);
}

.atom-checkbox__input:checked::after {
  transform: rotate(45deg) scale(1);
}

.atom-checkbox__input:focus-visible {
  box-shadow: 0 0 0 3px rgba(85, 85, 234, 0.25);
}

.atom-checkbox__input:disabled {
  cursor: not-allowed;
  border-color: var(--Border-Secondary);
  background-color: var(--Components-Neutral-Secondary-Disabled);
}

.atom-checkbox__input:disabled::after {
  border-color: rgba(255, 255, 255, 0.7);
}

.atom-checkbox__text {
  flex: 1;
}

.atom-checkbox.is-checked {
  border-color: var(--Components-Blue-Default);
  background-color: var(--Components-Blue-Background);
}

.atom-checkbox.is-correct {
  border-color: var(--Status-Success-Default);

  .atom-checkbox__input {
    border-color: var(--Status-Success-Default);
    background-color: var(--Status-Success-Default);
    box-shadow: 0 0 0 1px rgba(85, 85, 234, 0.3);
  }
}

.atom-checkbox.is-incorrect {
  border-color: var(--Status-Error-Default);
  .atom-checkbox__input {
    border-color: var(--Status-Error-Default);
    background-color: var(--Status-Error-Default);
    box-shadow: 0 0 0 1px rgba(85, 85, 234, 0.3);
  }
  .atom-checkbox__input::after {
      border: 2px solid var(--Components-White-Default);
      content: "+";
      width: 7px;
      height: 7px;
      color: var(--Components-White-Default);
      border: 0px solid var(--Status-Error-Default);
      transform: rotate(45deg) scale(1.5);
      transform-origin: center;
      transition: transform 0.15s ease;
      line-height: 1;
      margin-top: -6px;
      margin-left: 5px;
  }
  .atom-checkbox__input:checked::after {
    transform: rotate(45deg) scale(1.5);
  }
}


@media (max-width: 1023px) {
  .atom-checkbox {
    padding: 12px 8px;
  }
}


.atom-checkbox.is-readonly {
    cursor: not-allowed !important;
}

.progress-loader {
  width: 56px;
  height: 56px;
  position: relative;
}

.progress-loader__circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(
    var(--Icon-Disabled) 0%,
    var(--Icon-Disabled) 100%
  );
}

.progress-loader__circle[data-progress] {
  background: conic-gradient(
    var(--Status-Success-Default) 0%,
    var(--Status-Success-Default) var(--progress-percent),
    var(--Icon-Disabled) var(--progress-percent),
    var(--Icon-Disabled) 100%
  );
}

.progress-loader__circle[data-progress].incorrect {
  background: conic-gradient(
    var(--Status-Error-Default) 0%,
    var(--Status-Error-Default) var(--progress-percent),
    var(--Icon-Disabled) var(--progress-percent),
    var(--Icon-Disabled) 100%
  );
}

.progress-loader__mask {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  background: var(--Background-LightGrey);
  border-radius: 50%;
  z-index: 1;
}

.progress-loader__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--Text-Black-Default);
  z-index: 2;
}

.text-question__textarea-container {
  display: flex;
  position: relative;
  .textarea {
    min-height: 48px;
  }
}

.text-question__tag {
  color: var(--Components-Yellow-Hover);
}

.text-question__voice-button {
  padding: 6px 6px;
  border-radius: 18px;
  position: absolute;
  bottom: 8px;
  right: 8px;

  color: var(--Components-Blue-Default);
  background: var(--Components-Blue-Background);
  border-color: transparent;
}

.text-question__voice-button:hover {
  background: var(--Components-Blue-Hover);
}

.text-question__voice-button:disabled {
  background: var(--Components-Blue-Disabled);
  color: var(--Text-White-Button);
}

.text-question__voice-button.is-active {
  background: transparent;
  color: var(--Text-White-Button);
  background: var(--Components-Blue-Default);
}

.select-one-question-result__answer {
  gap: 4px;
  border-radius: 16px;
  background: var(--Status-Error-Background);

  .select-one-question-result__icon-wrapper {
    width: 24px;
    color: var(--Status-Error-Default);
  }
}

.select-one-question-result__answer.is-correct {
  gap: 4px;
  border-radius: 16px;
  background: var(--Status-Success-Background);
  
  .select-one-question-result__icon-wrapper {
    width: 24px;
    color: var(--Status-Success-Default);
  }
}

.select-one-question-result__answer-comment {
  padding-left: 28px;
}

.select-one-question-result__answer {
  gap: 4px;
  border-radius: 16px;
}

@media (max-width: 1023px) {
  .select-one-question-result__answer {
    padding: 12px 8px;
  }
}

@media (min-width: 1024px) {
  .select-one-question-result__answer {
    padding: 16px;
  }
}

.text-question-result__tag {
  color: var(--Components-Yellow-Hover);
}

.text-question-result__answer {
  gap: 4px;
  border-radius: 16px;
  background: var(--Status-Error-Background);
  .text-question-result__icon-wrapper {
    width: 24px;
    color: var(--Status-Error-Default);
  }
}

.text-question-result__answer.is-correct{
  gap: 4px;
  border-radius: 16px;
  background: var(--Status-Success-Background);
  
  .text-question-result__icon-wrapper {
    width: 24px;
    color: var(--Status-Success-Default);
  }
}

.text-question-result__answer-comment {
  padding-left: 28px;
}

.text-question-result__answer {
  gap: 4px;
  border-radius: 16px;
}

@media (max-width: 1023px) {
  .text-question-result__answer {
  padding: 12px 8px;
  }
}

@media (min-width: 1024px) {
  .text-question-result__answer {
  padding: 16px;
  }
}

.results-info {
  padding: 24px;
  background: var(--Background-LightGrey);
  border-radius: 24px;
  gap: 24px;
  justify-content: space-between;
  display: flex;
  flex-direction: row;
}

.results-info_content {
  gap: 8px;
}

.results-info__text-container {
  gap: 24px;
}

.results-info__text-content {
  gap: 2px;
}

.results-info__additional-text {
  color: var(--Text-Black-Additional);
}

.results-info__text {
  color: var(--Text-Black-Default);
}

.results-info__progress-loader {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.results-info__buttons {
  gap: 12px;
  display: flex;
}

.results-info {
  padding: 24px;
  background: var(--Background-LightGrey);
  border-radius: 24px;
  gap: 8px;
  justify-content: space-between;
}

@media (max-width: 654px) {
  .results-info {
    flex-direction: column;

    .btn {
      width: auto !important;
    }
  }
  .results-info__buttons {
    flex-direction: column;
  }
}

@media (min-width: 655px) {
  .results-info {
    flex-direction: row;
  }
  .results-info__buttons {
    flex-direction: row;
  }
}

.spinner {
  width: 64px;
  height: 64px;
  color: var(--Components-Blue-Default);
}

.spinner svg {
  width: 100%;
  height: 100%;
  animation: rotate 1.5s linear infinite;
}

.conic-loader {
  background: conic-gradient(
    from 90deg,
    currentColor 0deg,
    transparent 270.491deg,
    transparent 296.791deg,
    currentColor 302.599deg,
    currentColor 360deg);
  height:100%;
  width:100%;
  opacity:1
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.fullscreen-btn {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  border-radius: 12px;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  cursor: pointer;
  line-height: 0;
  width: 44px;
  height: 44px;
}

.fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.fullscreen-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.fullscreen-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-btn__icon[hidden] {
  display: none;
}

.fullscreen-btn__icon svg {
  display: block;
}

.prev-page-button a {
  gap: 8px;
  padding: 12px;
  color: var(--Text-Black-Additional);
  background: var(--Background-Grey);
}

.prev-page-button a:hover {
  color: var(--Text-Black-Default);
}

@media (max-width: 1023px) {
  .prev-page-button {
    display: none;
  }
}

.tile {
  color: var(--Text-Black-Default);
  gap: 6px;
}

.tile__card {
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  background: var(--Components-Blue-Background);
  box-shadow: var(--BoxShadow-Z0);
  min-height: 198px;
  width: 100%;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
  color: var(--Components-Blue-Default);
}

.tile__card--with-image {
  box-shadow: var(--BoxShadow-Z300);
  background: var(--Components-Blue-Background);
}

.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
}

.tile__icon svg {
  width: 100%;
  height: 100%;
}

.tile__badge {
  padding: 3px 9px;
  border-radius: 12px;
  background-color: var(--Components-Yellow-Default);
  color: var(--Text-Black-Default);
  width: fit-content;
  display: inline-flex;
  align-items: center;
}

.lesson-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lesson-cards-grid__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lesson-cards-grid__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 24px;
}

.lesson-card {
  height: 300px;
  perspective: 1600px;
}

.lesson-card__inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.lesson-card.is-flipped .lesson-card__inner {
  transform: rotateY(180deg);
}

.lesson-card__face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  backface-visibility: hidden;
}

.lesson-card__face--back {
  transform: rotateY(180deg);
}

.lesson-card__image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: var(--Background-LightGrey);
}

.lesson-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.lesson-card__img[hidden] {
  display: none;
}

.lesson-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(86, 86, 86, 0.5) 0%,
    rgba(86, 86, 86, 0.5) 100%
  );
}

.lesson-card__content {
  position: absolute;
  inset: 0;
  color: var(--Text-White-Button);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 30px 20px;
  text-align: center;
  word-break: break-word;
  height: 100%;
}

.lesson-card__content > * {
  margin: auto;
}

.lesson-card__flip {
  position: absolute;
  top: 24px;
  right: 30px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  z-index: 1;
}

.lesson-card__flip svg {
  width: 20px;
  height: 20px;
}

.lesson-card__flip:hover {
  background: transparent;
  border-color: none;
}

.lesson-card__back {
  background: var(--Components-Blue-Default);
  color: var(--Text-White-Button);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

@media (max-width: 767px) {
  .lesson-cards-grid__list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 479px) {
  .lesson-card {
    height: 240px;
  }
}

@media (max-width: 479px) {
  .lesson-card {
    height: 240px;
  }
}

.lesson-self-check {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lesson-self-check__list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 2px 13px 0 rgba(0, 0, 0, 0.15);
}

.header {
  padding: var(--content-vertical-padding) var(--content-horizontal-padding);
  gap: 24px;
}

.header__label-wrapper {
  gap: 8px;
}

.header__label {
  color: var(--Text-Black-Additional);
}

.header__image {
  width: 100%;
  align-self: stretch;
  aspect-ratio: 16/9;

  border-radius: 12px;
}

@media (max-width: 1023px) {
  :root {
    --content-vertical-padding: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --content-vertical-padding: 56px;
  }
}

.exam {
  height: -webkit-fill-available;
  flex: 1;
}
/* Паддинги */
@media (max-width: 1023px) {
  :root {
    --content-vertical-padding: 32px;
    --content-gap: 48px;
  }
}

@media (min-width: 1024px) {
  :root {
    --content-vertical-padding: 56px;
    --content-gap: 56px;
  }
}

.exam-error {
  flex: 1;
}

.exam-error__content {
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding);
}

.exam-form {
  flex: 1;
}

.exam-form__content {
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding);
}

/* Кнопки */
.exam-form__button-footer {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 16px  var(--content-horizontal-padding);
}

@media (max-width: 479px) {
  .exam-form__button-footer {
    flex-direction: column-reverse;

    .btn {
      width: auto !important;
    }
  }
}

@media (min-width: 480px) {
  .exam-form__button-footer {
    flex-direction: row-reverse;
  }
}

@media (max-width: 1439px) {
  .exam-form__content {
    flex: 1;
  }

  .exam-form__button-footer {
    border-top: 1px solid;
    border-color: var(--Border-Primary);
  }
}

.exam-loader {
  flex: 1;
}

.exam-loader__content {
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding);
  justify-content: center;
  height: 100%;
}

.exam-loader__icon {
  width: 64px;
  height: 64px;
}

.exam-loader__label {
  color: var(--Text-Black-Additional);
}

.exam-results__header {
  gap: var(--label-gap);
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding) 0 var(--content-horizontal-padding);
}

.exam-results__questions-results {
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding);
  gap:  var(--content-gap);
  flex: 1;
}


@media (max-width: 1023px) {
  :root {
    --label-gap: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --label-gap: 16px;
  }
}

.exam-start {
  flex: 1;
}

.exam-start__content {
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding);
}

.glossary .header {
  border-bottom: 1px solid var(--Border-Primary);
}

.glossary__content {
  --content-vertical-padding: 56px;
  padding: var(--content-vertical-padding) var(--content-horizontal-padding);
}

.glossary__list {
  padding: 0;
  margin: 0;
  gap: 12px;
}

.glossary__item {
  padding: 16px 24px;
  align-items: flex-start;
  border-radius: 20px;
  background: var(--Background-LightGrey);
  gap: 4px;
  margin: 0;
}

.glossary__term {
  margin: 0;
}

.glossary__definition {
  margin: 0;
}

@media (max-width: 1023px) {
  .glossary__content {
    --content-vertical-padding: 24px;
  }
}

@media (max-width: 767px) {
  .glossary__content {
    --content-vertical-padding: 16px;
  }
}

.home-page {
  width: min(1440px, 100%);
  max-width: 1440px;
  margin: 0 auto;
  background: transparent;
}

.home-page__content{
  margin: 16px;
  background: var(--Background-White);
  border-radius: 24px;
}

.home-page__course {
  padding: 24px 24px 0 24px;
  width: 100%;
}

.course-hero {
  width: 100%;
  padding: 64px 40px;
  border-radius: 24px;
  background: var(--Background-White);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-hero--with-image {
  padding: 180px 64px 64px;
  box-shadow: var(--BoxShadow-Z300);
  position: relative;
  color: var(--Background-White);
  overflow: hidden;
  background: var(--Components-Blue-Background);
  border-radius: 24px;
}

.course-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-hero--with-image > div {
  z-index: 1;
}

.course-hero--with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(86, 86, 86, 0.5) 0%,
    rgba(86, 86, 86, 0.5) 100%
  );
}

.course-hero__title {
  margin: 0;
}

.home-page__tiles {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 32px 24px;
  background-color: var(--Background-White);
  border-radius: 24px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1023px) {
  .home-page__tiles {
    margin-top: -24px;
    padding: 24px;
    border-radius: 24px 24px 0 0;
  }
  .home-page {
    margin: 0;
    border-radius: 0;
  }
  .home-page__course {
    padding: 0,
  }
  .course-hero {
    border-radius: 0;
    padding: 40px 24px;
  }
  .course-hero--with-image {
    padding: 120px 24px 80px;
  }
  .course-hero--with-image::before {
    border-radius: 0;
  }
}

@media (max-width: 767px) {
  .home-page__tiles {
    margin-top: -16px;
    padding: 16px 16px 24px;
  }
  .home-page {
    margin: 0;
    border-radius: 0;
  }
  .course-hero {
    padding: 24px 16px;
    border-radius: 0;
  }
  .course-hero--with-image {
    padding: 120px 16px 80px;
  }
}

.intro {
  height: -webkit-fill-available;
}

.intro__content {
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding);
  flex: 1;
}

.lesson-page {
  width: 100%;
  justify-content: flex-start;
  background: var(--Background-White);
}

.lesson {
  height: -webkit-fill-available;
  flex: 1;
}

.lesson-content__title {
  margin-top: 8px;
}

.lesson-content__cover {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--Background-LightGrey);
}

.lesson-content {
  width: 100%;
  padding: 32px 180px 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lesson-content__badge {
  color: var(--Text-Black-Additional);
}

.lesson-content__cover-img {
  width: 100%;
  display: block;
  height: 520px;
  object-fit: cover;
}

.lesson-content__body hr {
  border: none;
  margin: 30px 0;
}

.lesson-content__body hr::before {
  content: "";
  height: 1px;
  background-color: var(--Border-Primary);
  width: 100%;
  position: absolute;
  left: 0;
}

.lesson-content__body ul,
.lesson-content__body ol {
  margin: 8px 0 8px 24px;
  padding-inline-start: 20px;
}

.lesson-content__body ul {
  list-style-type: disc;
}

.lesson-content__body ol {
  list-style-type: decimal;
}

.lesson-content__body li {
  margin-bottom: 4px;
  line-height: 22px;
}

.lesson-content__body li ul,
.lesson-content__body li ol {
  margin-top: 4px;
  margin-bottom: 4px;
}

.lesson-content__body li p {
  margin: 4px 0;
}

.lesson-content__body h1 {
  line-height: 32px;
}

.lesson-content__body img {
  max-width: 100%;
  border-radius: 12px;
}

@media (max-width: 1439px) {
  .lesson-content {
    padding: 32px 100px 56px;
  }
  .lesson-content__cover-img {
    height: 320px;
  }
}

@media (max-width: 1023px) {
  .lesson-content {
    padding: 24px;
    gap: 16;
  }
  .lesson-content__cover-img {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .lesson-content {
    padding: 24px 16px;
  }
  .lesson-content__cover {
    border-radius: 16px;
  }
  .lesson-content__cover-img {
    height: 240px;
  }
}

.test-form {
  flex: 1;
}

.test-form__content {
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding);
}

/* Кнопки */
.test-form__buttons {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 16px  var(--content-horizontal-padding);
}

@media (max-width: 479px) {
  .test-form__buttons {
    flex-direction: column-reverse;

    .btn {
      width: auto !important;
    }
  }
}

@media (min-width: 480px) {
  .test-form__buttons {
    flex-direction: row-reverse;
  }
}

@media (max-width: 1439px) {
  .test-form__content {
    flex: 1;
  }

  .test-form__buttons {
    border-top: 1px solid;
    border-color: var(--Border-Primary);
  }
}

.test-results__header {
  gap: var(--label-gap);
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding) 0 var(--content-horizontal-padding);
}

.test-results__questions-results {
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding);
  gap:  var(--content-gap);
  flex: 1;
}


@media (max-width: 1023px) {
  :root {
    --label-gap: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --label-gap: 16px;
  }
}

.summary {
  height: -webkit-fill-available;
}

.summary__content {
  padding: var(--content-vertical-padding)  var(--content-horizontal-padding);
  flex: 1;
}

.progressbar {
  height: 1px;
  width: 100%;
  background: var(--Border-Primary);
  position: relative;
}

.progressbar__progress {
  height: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--Components-Yellow-Default);
  position: absolute;
  top: -1px;
  left: 0;
}

.sidebar-item {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}

.sidebar-item.is-active-link {
  background: var(--Background-White);
}

.sidebar-item__image {
  width: 120px;
  min-height: 70px;
  border-radius: 8px;
  background: var(--Components-Blue-Background);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  color: var(--Components-Blue-Default);
}

.sidebar-item__image--with-image {
  box-shadow: var(--BoxShadow-Z200);
}

.sidebar-item__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-item__image > svg {
  width: 20px;
  height: 20px;
}

.sidebar-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0;
}

.sidebar-item__subtitle {
  color: var(--Text-Black-Label);
}

.sidebar {
  width: 528px;
  flex-shrink: 0;
  background: var(--Background-LightGrey);
  max-height: 100vh;
  overflow-y: auto;
  position: sticky;
  top: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: var(--z-index-subheader);
}

.sidebar.is-hidden {
  display: none;
}

body.sidebar-modal-open {
  overflow: hidden;
}

.sidebar__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--Background-LightGrey);
  border: none;
  cursor: pointer;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: var(--z-index-subheader);
}

.sidebar__toggle svg {
  flex-shrink: 0;
}

body[data-current-route="/"] .sidebar__toggle {
  display: none;
}

.sidebar__close {
  display: none;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.sidebar__close svg {
  width: 24px;
  height: 24px;
}

.sidebar__overlay {
  display: none;
}

.sidebar__hero {
  position: relative;
  width: 100%;
  background: var(--Components-LightGrey);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 90px 24px 32px;
  color: var(--Text-Black-Default);
}

.sidebar__hero--with-image {
  color: var(--Background-White);
  padding: 200px 24px 56px;
  overflow: hidden;
}

.sidebar__hero--with-image > div {
  z-index: 1;
}

.sidebar__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(86, 86, 86, 0.5) 0%,
    rgba(86, 86, 86, 0.5) 100%
  );
}

.sidebar__hero .back-link {
  position: absolute;
  top: 20px;
}

.back-link > a {
  display: flex;
  gap: 6px;
  align-items: center;
}

.sidebar__content {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 32px 24px;
}

.sidebar__title {
  margin-bottom: 16px;
}

.sidebar__title__small {
  display: none;
  margin-bottom: 12px;
}

.sidebar__list {
  list-style: none;
  padding: 0 0 32px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 1439px) {
  .sidebar {
    width: 350px;
  }
  .sidebar__hero__with-image {
    padding: 90px 24px 32px;
  }
  .sidebar__hero {
    padding: 120px 24px 48px;
  }
}

@media (max-width: 1023px) {
  .sidebar {
    max-height: none;
    width: 320px;
    position: fixed;
    inset: 0;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    z-index: var(--z-index-modal);
    overflow-y: auto;
  }

  .sidebar__back-link {
    display: flex;
  }

  .sidebar__title {
    display: none;
  }

  .sidebar__title__small {
    display: flex;
    gap: 8px;
  }

  .sidebar__toggle {
    display: inline-flex;
  }

  .sidebar__content {
    padding: 12px 16px 12px 8px;
  }

  .sidebar__hero {
    display: none;
  }

  .sidebar__close {
    display: inline-flex;
  }

  .sidebar.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar__overlay {
    display: block;
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: var(--z-index-overlay);
  }

  .sidebar-item__image {
    display: none;
  }

  .sidebar__overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

.tile {
  color: var(--Text-Black-Default);
  gap: 6px;
}

.tile__card {
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  background: var(--Components-Blue-Background);
  box-shadow: var(--BoxShadow-Z0);
  min-height: 198px;
  width: 100%;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
  color: var(--Components-Blue-Default);
}

.tile__card--with-image {
  box-shadow: var(--BoxShadow-Z300);
  background: var(--Components-Blue-Background);
}

.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
}

.tile__icon svg {
  width: 100%;
  height: 100%;
}

.tile__badge {
  padding: 3px 9px;
  border-radius: 12px;
  background-color: var(--Components-Yellow-Default);
  color: var(--Text-Black-Default);
  width: fit-content;
  display: inline-flex;
  align-items: center;
}

/* Raleway Thin */
@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-Thin_num.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-ThinItalic_num.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

/* Raleway Extra Light */
@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-ExtraLight_num.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-ExtraLightItalic_num.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

/* Raleway Light */
@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-Light_num.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-LightItalic_num.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Raleway Regular */
@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-Regular_num.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-Italic_num.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Raleway Medium */
@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-Medium_num.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-MediumItalic_num.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* Raleway Semi Bold */
@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-SemiBold_num.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-SemiBoldItalic_num.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* Raleway Bold */
@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-Bold_num.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-BoldItalic_num.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Raleway Extra Bold */
@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-ExtraBold_num.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-ExtraBoldItalic_num.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* Raleway Black */
@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-Black_num.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway Num';
  src: url('fonts/Raleway_Num/Raleway-BlackItalic_num.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}