:root {
  --ids__text-RGB: 35, 37, 38;

  --ids__link-RGB: 44, 44, 44;
  --ids__hover-RGB: 255, 75, 75;
  --ids__accent-RGB: 255, 105, 105;
  --ids__pen-RGB: 0, 65, 205;
  --ids__mark-RGB: 255, 200, 29;
  --ids__surface-RGB: 230, 228, 228;
  --ids__background-RGB: 255, 255, 255;
}

body {
  color: rgba(var(--ids__text-RGB), 1);
  background-color: rgba(var(--ids__background-RGB), 1);
}

.dark-theme {
  --ids__text-RGB: 240, 240, 240;
  --ids__link-RGB: 240, 240, 240;
  --ids__hover-RGB: 255, 100, 90;
  --ids__accent-RGB: 57, 53, 216;
  --ids__mark-RGB: 255, 200, 29;
  --ids__surface-RGB: 45, 47, 48;
  --ids__background-RGB: 35, 37, 38;

  color: rgba(var(--ids__text-RGB), 1);
  background-color: rgba(var(--ids__background-RGB), 1);
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/**
 * IDS additional resets
 */

*,
*:before,
*:after {
  box-sizing: border-box;

  &:focus:not(:focus-visible) {
    outline: none;
  }
}

img {
  display: block;
  width: 100%;
}

* {
  box-sizing: border-box;
}

/* Fonts */

@font-face {
  font-family: "CoFoGothic";
  font-style: normal;
  font-display: swap;
  src: url("fonts/CoFoGothic-VF-Trial.ttf") format("truetype");
}

@font-face {
  font-family: "CoFoSansSemi-Mono";
  font-style: normal;
  font-display: swap;
  src: url("fonts/CoFoSansSemi-Mono-VF-Trial.ttf") format("truetype");
}

@font-face {
  font-family: "CoFoHand";
  font-style: normal;
  font-display: swap;
  src: url("fonts/CoFoHand-Regular-Trial.otf") format("opentype");
}

/* @font-face {
  font-family: "Robert";
  font-style: normal;
  font-display: swap;
  src: url("fonts/Robert/CoFoRobert-Book-Trial.otf") format("opentype");
}

@font-face {
  font-family: "Robert";
  font-style: italic;
  font-display: swap;
  src: url("fonts/Robert/CoFoRobert-BookItalic-Trial.otf") format("opentype");
} */

@font-face {
  font-family: "Newton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("fonts/Newton/Newton_Book.woff2") format("woff2"),
    url("fonts/Newton/Newton_Book.woff") format("woff"),
    url("fonts/Newton/Newton_Book.ttf") format("truetype");
}

@font-face {
  font-family: "Newton";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src:
    url("fonts/Newton/Newton_Italic.woff2") format("woff2"),
    url("fonts/Newton/Newton_Italic.woff") format("woff"),
    url("fonts/Newton/Newton_Italic.ttf") format("truetype");
}

@font-face {
  font-family: "Newton";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url("fonts/Newton/Newton_Bold.woff2") format("woff2"),
    url("fonts/Newton/Newton_Bold.woff") format("woff"),
    url("fonts/Newton/Newton_Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Newton";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src:
    url("fonts/Newton/Newton_Bold Italic.woff2") format("woff2"),
    url("fonts/Newton/Newton_Bold Italic.woff") format("woff"),
    url("fonts/Newton/Newton_Bold Italic.ttf") format("truetype");
}

@font-face {
  font-family: "Newton";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src:
    url("fonts/Newton/Newton_Extra Bold.woff2") format("woff2"),
    url("fonts/Newton/Newton_Extra Bold.woff") format("woff"),
    url("fonts/Newton/Newton_Extra Bold.ttf") format("truetype");
}

:root {
  --gothic: "CoFoGothic";
  --serif: "Robert";
  --mono: "CoFoSansSemi-Mono";
  --hand: "CoFoHand";

  --smaller: 0.8em;
}

body {
  font-family: var(--gothic);
  -webkit-font-smoothing: antialiased;
  font-weight: 350;

  /* Это блокирует скролл */
  overflow: hidden;
}

/* Density */

:root {
  --ids__density: 1.22;
}

body {
  font-size: 1em;
  line-height: var(--ids__density);
}

html {
  /* Font-size calculation using variables */

  --mobile-font-size-min: 14;
  --mobile-font-size-max: 32;

  --desktop-font-size-min: 12;
  --desktop-font-size-max: 24;

  --mobile-viewport-min: 320;
  --mobile-desktop-breakpoint: 768;
  --desktop-viewport-max: 1500;

  font-size: calc(var(--mobile-font-size-min) * 1px);

  @media screen and (min-width: 320px) {
    font-size: calc(var(--mobile-font-size-min) * 1px + (var(--mobile-font-size-max) - var(--mobile-font-size-min)) * ((100vw - var(--mobile-viewport-min) * 1px) / (var(--mobile-desktop-breakpoint) - var(--mobile-viewport-min))));
  }

  @media screen and (min-width: 768px) {
    font-size: calc(var(--desktop-font-size-min) * 1px + (var(--desktop-font-size-max) - var(--desktop-font-size-min)) * ((100vw - var(--mobile-desktop-breakpoint) * 1px) / (var(--desktop-viewport-max) - var(--mobile-desktop-breakpoint))));
  }

  @media screen and (min-width: 1500px) {
    font-size: calc(var(--desktop-font-size-max) * 1px);
  }
}

/* Smooth scroll for anchored links */

@media (prefers-reduced-motion: no-preference) {
  html {
    /*scroll-behavior: smooth;*/
  }
}


.background {
  transition: filter 0.5s ease;

  &:hover {
    filter: brightness(0.95) saturate(1.1);
    transition: filter 0s ease;
  }
}

.image {
  transition: transform 0.5s ease;

  &:hover {
    transform: scale(0.05);
    transition: transform 0s ease;
  }
}
.ids__space {
  height: calc(var(--ids__density) * 0.7em);

  &.S {
    height: calc(var(--ids__density) * 0.7em);
  }

  &.M {
    height: calc(var(--ids__density) * 1.4em);
  }

  &.L {
    height: calc(var(--ids__density) * 2.4em);
  }

  &.XL {
    height: calc(var(--ids__density) * 4em);
  }
}

.ids__wrapper {
  position: relative;
  width: 68%;
  margin: 0 auto 0 8%;
  max-width: 1020px;

  @media (width < 767px) {
    width: 100%;
    margin: 0 auto;
    padding: 0 calc(var(--ids__density) * 0.4em);
  }

  &.L {
    width: 84%;
    margin: 0 8%;
    max-width: 1260px;

    @media (width < 767px) {
      width: 100%;
      margin: 0 auto;
      padding: 0 calc(var(--ids__density) * 0.4em);
    }
  }

  &.XL {
    width: 100%;
    margin: 0 auto;
    /* padding: 0 calc(var(--ids__density) * 0.75em); */

    @media (width < 767px) {
      padding: 0 calc(var(--ids__density) * 0.6em);
    }
  }

  &.XXL {
    width: 100%;

    @media (width < 767px) {
      padding: 0;
    }
  }

  & .ids__text-width {
    width: 80%;
    max-width: 816px;

    @media (width < 767px) {
      width: 100%;
    }
  }
}

.ids__sequence {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: calc(var(--ids__density) * 0.4em);
  --gap: 0em;
  gap: var(--gap);

  &.gap-L {
    --gap: 1.5em;
    margin-bottom: calc(var(--gap) * 1.5);
  }

  &.gap-M {
    --gap: 1em;
    margin-bottom: calc(var(--gap) * 1.5);
  }

  &.gap-S {
    --gap: 0.5em;
    margin-bottom: calc(var(--gap) * 1.5);
  }

  .ids__sequence-item {
    --columns: 4;
    width: calc((100% - var(--gap) * (var(--columns) - 1)) / var(--columns));

    @media (width < 767px) {
      --columns: 2;
    }
  }

  &.XL {
    .ids__sequence-item {
      --columns: 2;

      @media (width < 767px) {
        --columns: 2;
      }
    }
  }

  &.L {
    .ids__sequence-item {
      --columns: 3;

      @media (width < 767px) {
        --columns: 2;
      }
    }
  }

  &.S {
    .ids__sequence-item {
      --columns: 6;

      @media (width < 767px) {
        --columns: 3;
      }
    }
  }

  &.mobile-XL {
    .ids__sequence-item {
      @media (width < 767px) {
        --columns: 1;
      }
    }
  }
}
.ids {
  & a {
    color: rgb(var(--ids__link-RGB));
    text-decoration: underline;
    will-change: color;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    text-decoration-skip-ink: none;
    text-decoration-color: rgba(var(--ids__link-RGB), 0.2);
    transition: color 0.5s ease, text-decoration 0.5s ease;

    &:hover {
      color: rgb(var(--ids__hover-RGB));
      text-decoration-color: rgba(var(--ids__hover-RGB), 0.2);
      transition: color 0s ease, text-decoration 0s ease;
    }
  }

  & p {
    margin-top: 0;
    margin-bottom: calc(var(--ids__density) * 0.4em);

    &.loud {
      font-size: 1.5em;
      line-height: 1.15;
      font-weight: 350;

      & em {
        font-size: 1.02em;
      }

      @media (width < 767px) {
        font-size: 1.35em;
      }

      &.serif {
        font-size: 1.44em;
        line-height: 1.2;
      }

      &.mono {
        font-size: 1.35em;
        line-height: 1.25;

        & em {
          font-size: 1.05em;
        }
      }
    }

    &.caption {
      font-size: 0.8em;
    }
  }

  & h1,
  & h2,
  & h3,
  & h4,
  & h5,
  & h6 {
    margin: 0;
    font-weight: 600;
  }

  & h1 {
    font-size: 4em;
    font-weight: 500;
    line-height: calc(var(--ids__density) / 1.3);
    margin-bottom: 0.2em;
    margin-left: -0.04em;

    &.XL {
      font-size: 6.5em;

      @media (width < 767px) {
        font-size: 4em;
      }
    }
  }

  & h2 {
    font-size: 2.4em;
    font-weight: 550;
    line-height: 1;
    margin-bottom: 0.3em;
  }

  & h3 {
    font-size: 1.7em;
    line-height: 1.08;
    font-weight: 550;
    margin-bottom: 0.4em;
  }

  & h4 {
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.4em;
  }

  & h5 {
    font-size: 1.08em;
    font-weight: 450;
    line-height: 1.2;
    margin-bottom: 0.5em;
  }

  & h6 {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: var(--ids__density);
    margin-bottom: 0.5em;
  }

  & strong,
  & b {
    font-weight: 600;
  }

  & mark {
    color: rgb(var(--ids__text-RGB));
    background-color: rgb(var(--ids__mark-RGB));
  }

  & ul,
  & ol {
    margin: 0 0 calc(var(--ids__density) * 0.75em) 0;
    padding: 0;

    & li {
      position: relative;
      margin-bottom: calc(var(--ids__density) * 0.5em);
    }
  }

  & ul {
    & li {
      list-style-type: none;
      padding-left: calc(var(--ids__density) * 0.75em);

      &:before {
        position: absolute;
        left: 0;
        content: "⋅ ";
      }
    }
  }

  & ol {
    & li {
      list-style: decimal inside none;
    }
  }

  & em {
    font-family: var(--serif);
    font-size: 1.05em;
  }

  & blockquote {
    font-size: 1.6em;
    line-height: 1;
    margin: 0;
    margin-bottom: calc(var(--ids__density) * 1em);

    &.loud {
      font-size: 2em;
    }
  }

  & aside {
    margin: 0;
    margin-bottom: calc(var(--ids__density) * 0.5em);
    background: rgb(var(--ids__surface-RGB));
    padding-top: calc(var(--ids__density) * 0.4em);
    padding-right: calc(var(--ids__density) * 1.5em);
    padding-bottom: calc(var(--ids__density) * 0.4em);
    padding-left: calc(var(--ids__density) * 0.5em);
    border-radius: 0.2em;

    @media (width < 767px) {
      padding-right: calc(var(--ids__density) * 0.75em);
    }
  }

  & code {
    font-size: 0.9em;
    font-family: var(--mono);
    letter-spacing: 0.02em;
    font-weight: 450;
    padding: 0.1em 0.25em;
    border-radius: 0.2em;
    color: rgba(var(--ids__code-RGB), 1);
    border: 1px solid rgba(var(--ids__code-RGB), 0.1);
    background: rgba(var(--ids__code-RGB), 0.1);
  }

  & figure {
    margin: 0 0 calc(var(--ids__density) * 0.5em) 0;

    &.XXS,
    &.ids__figure__XXS {
      width: 25%;
    }

    &.XS,
    &.ids__figure__XS {
      width: 50%;
    }

    &.S,
    &.ids__figure__S {
      width: 75%;
    }

    & figcaption {
      margin-top: calc(var(--ids__density) * 0.25em);
      font-size: 0.8em;
      line-height: var(--ids__density);
      opacity: 0.7;
    }
  }

  & details {
    padding: 0.5em;
    cursor: pointer;
    border-radius: var(--ids__radius);

    & summary {
      padding-bottom: var(--ids__micro-padding);
    }
  }

  & table {
    & caption {
    }
  }

  & hr {
    border-top-color: rgba(var(--ids__text-RGB), 0.2);
    border-bottom: 0;
  }

  & .promo-link {
    font-family: var(--mono);
    display: inline-block;
    padding: 0.5em 1em;
    background-color: rgb(var(--ids__accent-RGB));
    text-decoration: none;
    color: white;
    border-radius: 0.25em;
    transition: background-color 0.5s ease;

    &:hover {
      background-color: rgb(var(--ids__hover-RGB));
      transition: background-color 0s;
      color: white;
    }
  }
}

ids-gallery,
.ids__gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5em;


    figure {
        flex: 0 0 5em;

        &:focus-within:has(a:focus-visible) {
            outline: 2px solid rgb(var(--ids__link-RGB));
            outline-offset: 2px;
        }

        a:hover,
        a:focus-visible {
            opacity: 0.9;
        }

        img {
            object-fit: contain;
            max-height: 100%;
            max-width: 100%;
        }
    }
}
/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */

.pswp {
  --pswp-bg: #000;
  --pswp-placeholder-bg: #222;
  

  --pswp-root-z-index: 100000;
  
  --pswp-preloader-color: rgba(79, 79, 79, 0.4);
  --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
  
  /* defined via js:
  --pswp-transition-duration: 333ms; */
  
  --pswp-icon-color: #fff;
  --pswp-icon-color-secondary: #4f4f4f;
  --pswp-icon-stroke-color: #4f4f4f;
  --pswp-icon-stroke-width: 2px;

  --pswp-error-text-color: var(--pswp-icon-color);
}


/*
	Styles for basic PhotoSwipe (pswp) functionality (sliding area, open/close transitions)
*/

.pswp {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: var(--pswp-root-z-index);
	display: none;
	touch-action: none;
	outline: 0;
	opacity: 0.003;
	contain: layout style size;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Prevents focus outline on the root element,
  (it may be focused initially) */
.pswp:focus {
  outline: 0;
}

.pswp * {
  box-sizing: border-box;
}

.pswp img {
  max-width: none;
}

.pswp--open {
	display: block;
}

.pswp,
.pswp__bg {
	transform: translateZ(0);
	will-change: opacity;
}

.pswp__bg {
  opacity: 0.005;
	background: var(--pswp-bg);
}

.pswp,
.pswp__scroll-wrap {
	overflow: hidden;
}

.pswp__scroll-wrap,
.pswp__bg,
.pswp__container,
.pswp__item,
.pswp__content,
.pswp__img,
.pswp__zoom-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pswp__img,
.pswp__zoom-wrap {
	width: auto;
	height: auto;
}

.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
	cursor: move;
	cursor: -webkit-grab;
	cursor: -moz-grab;
	cursor: grab;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

/* :active to override grabbing cursor */
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
.pswp__img {
	cursor: -webkit-zoom-out;
	cursor: -moz-zoom-out;
	cursor: zoom-out;
}


/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img,
.pswp__button,
.pswp__counter {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.pswp__item {
	/* z-index for fade transition */
	z-index: 1;
	overflow: hidden;
}

.pswp__hidden {
	display: none !important;
}

/* Allow to click through pswp__content element, but not its children */
.pswp__content {
  pointer-events: none;
}
.pswp__content > * {
  pointer-events: auto;
}


/*

  PhotoSwipe UI

*/

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/
.pswp__error-msg-container {
  display: grid;
}
.pswp__error-msg {
	margin: auto;
	font-size: 1em;
	line-height: 1;
	color: var(--pswp-error-text-color);
}

/*
class pswp__hide-on-close is applied to elements that
should hide (for example fade out) when PhotoSwipe is closed
and show (for example fade in) when PhotoSwipe is opened
 */
.pswp .pswp__hide-on-close {
	opacity: 0.005;
	will-change: opacity;
	transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1);
	z-index: 10; /* always overlap slide content */
	pointer-events: none; /* hidden elements should not be clickable */
}

/* class pswp--ui-visible is added when opening or closing transition starts */
.pswp--ui-visible .pswp__hide-on-close {
	opacity: 1;
	pointer-events: auto;
}

/* <button> styles, including css reset */
.pswp__button {
	position: relative;
	display: block;
	width: 50px;
	height: 60px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	cursor: pointer;
	background: none;
	border: 0;
	box-shadow: none;
	opacity: 0.85;
	-webkit-appearance: none;
	-webkit-touch-callout: none;
}

.pswp__button:hover,
.pswp__button:active,
.pswp__button:focus {
  transition: none;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 1;
}

.pswp__button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.pswp__icn {
  fill: var(--pswp-icon-color);
  color: var(--pswp-icon-color-secondary);
}

.pswp__icn {
  position: absolute;
  top: 14px;
  left: 9px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  pointer-events: none;
}

.pswp__icn-shadow {
  stroke: var(--pswp-icon-stroke-color);
  stroke-width: var(--pswp-icon-stroke-width);
  fill: none;
}

.pswp__icn:focus {
	outline: 0;
}

/*
	div element that matches size of large image,
	large image loads on top of it,
	used when msrc is not provided
*/
div.pswp__img--placeholder,
.pswp__img--with-bg {
	background: var(--pswp-placeholder-bg);
}

.pswp__top-bar {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 60px;
	display: flex;
  flex-direction: row;
  justify-content: flex-end;
	z-index: 10;

	/* allow events to pass through top bar itself */
	pointer-events: none !important;
}
.pswp__top-bar > * {
  pointer-events: auto;
  /* this makes transition significantly more smooth,
     even though inner elements are not animated */
  will-change: opacity;
}


/*

  Close button

*/
.pswp__button--close {
  margin-right: 6px;
}


/*

  Arrow buttons

*/
.pswp__button--arrow {
  position: absolute;
  top: 0;
  width: 75px;
  height: 100px;
  top: 50%;
  margin-top: -50px;
}

.pswp__button--arrow:disabled {
  display: none;
  cursor: default;
}

.pswp__button--arrow .pswp__icn {
  top: 50%;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  background: none;
  border-radius: 0;
}

.pswp--one-slide .pswp__button--arrow {
  display: none;
}

/* hide arrows on touch screens */
.pswp--touch .pswp__button--arrow {
  visibility: hidden;
}

/* show arrows only after mouse was used */
.pswp--has_mouse .pswp__button--arrow {
  visibility: visible;
}

.pswp__button--arrow--prev {
  right: auto;
  left: 0px;
}

.pswp__button--arrow--next {
  right: 0px;
}
.pswp__button--arrow--next .pswp__icn {
  left: auto;
  right: 14px;
  /* flip horizontally */
  transform: scale(-1, 1);
}

/*

  Zoom button

*/
.pswp__button--zoom {
  display: none;
}

.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}

/* "+" => "-" */
.pswp--zoomed-in .pswp__zoom-icn-bar-v {
  display: none;
}


/*

  Loading indicator

*/
.pswp__preloader {
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 60px;
  margin-right: auto;
}

.pswp__preloader .pswp__icn {
  opacity: 0;
  transition: opacity 0.2s linear;
  animation: pswp-clockwise 600ms linear infinite;
}

.pswp__preloader--active .pswp__icn {
  opacity: 0.85;
}

@keyframes pswp-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/*

  "1 of 10" counter

*/
.pswp__counter {
  height: 30px;
  margin-top: 15px;
  margin-inline-start: 20px;
  font-size: 14px;
  line-height: 30px;
  color: var(--pswp-icon-color);
  text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
  opacity: 0.85;
}

.pswp--one-slide .pswp__counter {
  display: none;
}


.pndlnk-logo-path {
  fill: rgba(var(--ids__text-RGB), 1);
  stroke-width: 0px;
}

.slide {
  position: relative;
  display: flex;
  background-color: rgba(var(--ids__surface-RGB), 1);
  --gap: 1em;
  padding: calc(var(--gap) * 2);
  gap: var(--gap);
  height: 100vh;

  & .slide-number {
    position: absolute;
    font-family: var(--mono);
    left: calc(var(--gap) * 2);
    bottom: calc(var(--gap) * 2);

  }

  & .slide-nav-column {
    width: 11em;

    --ids__text-RGB: 255, 105, 105;
    color: rgba(var(--ids__text-RGB), 1);

    & .logo {
      margin-top: -0.45em;
      padding: 0.1em;
      height: 1.1em;
    }

    & .product-title {
      font-size: 1em;
      font-family: var(--mono);
      margin-bottom: 1em;
    }

    & h1 {
      margin-top: 0;
      font-size: 1.9em;
    }
  }

  & .slide-content {
    border-top: 0.44em solid rgba(var(--ids__accent-RGB), 1);
    padding-top: 2.22em;

    width: 59%;

    overflow: hidden;
  }

  & h1,
  h2,
  h3 {
    margin-top: 0;
    font-size: 1.9em;
    line-height: 1;
  }

  & p {
    width: 90%;
    font-size: 1.9em;
    line-height: 1;
    margin-bottom: 0.2em;
  }

  & ul,
  ol {
    font-size: 1.9em;

    li {
      margin-top: 0.2em;
      margin-bottom: 0.4em;
      line-height: 1;
    }
  }

  & table {
    font-size: 1.4em;
    border-spacing: 0;
    margin: 1em 0;

    thead,
    tbody {
      tr {
        & th {
          text-align: left;
          border-bottom: 2px solid rgba(var(--ids__text-RGB), 1);
          padding-bottom: 0.3em;
        }

        & td {
          padding: 0.5em 1em 0.5em 0;
          border-bottom: 1px solid rgba(var(--ids__text-RGB), 0.5);
          vertical-align: top;
          text-align: left;

          & p {}
        }

        &:last-child {
          & td {
            border-bottom: none;
          }
        }
      }
    }
  }
}

.ids {

  & .hand {
    font-family: var(--hand);
    color: rgba(var(--ids__pen-RGB), 1);

    & li em {
      font-family: var(--hand);
    }
  }
}


.dkcp-component {
  --gap: 0.3em;
  width: 100%;
  margin: 8em 0 4em;

  @media (width < 767px) {
    margin: 4em 0 2em;
    --gap: 0.15em;
  }

  & .dkcp-top {
    position: relative;
    height: 1.625em;
    background-color: rgba(var(--ids__surface-RGB), 1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--gap) * 2);

    @media (width < 767px) {
      height: 1.25em;
    }

    &:before {
      content: "";
      position: absolute;
      top: -5em;
      left: 0;

      width: 100%;
      height: 5.01em;
      background-color: rgba(var(--ids__surface-RGB), 1);

      clip-path: polygon(0 100%, 50% 0, 100% 100%);
      z-index: -1;

      @media (width < 767px) {
        top: -2.5em;
        height: 2.51em;
      }
    }

    & .dkcp-block {
      width: 100%;
      margin-top: -6em;
      background-color: transparent;
      text-align: center;

      @media (width < 767px) {
        margin-top: -2.5em;
      }
    }
  }

  & .dkcp-facade {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    margin-bottom: calc(var(--gap) * 2);

    & .dkcp-row {
      width: 100%;
      display: flex;
      gap: var(--gap);
      margin: 0 auto;
      padding: 0 calc(var(--gap) * 2);

      &.columns {
        & .dkcp-block {
          width: calc((100% - 4 * var(--gap)) / 5);
          min-height: 16em;

          @media (width < 767px) {
            min-height: 8em;
          }
        }
      }

      &.bottom-row {
        & .dkcp-block {
          width: calc((100% - 1 * var(--gap)) / 2);
          min-height: 3em;

          @media (width < 767px) {
            min-height: 2em;
          }
        }
      }
    }
  }

  & .dkcp-bottom {
    width: 100%;
    min-height: 3em;
  }
}

.dkcp-block {
  padding: 0.3em;
  background-color: rgba(var(--ids__surface-RGB), 1);

  @media (width < 767px) {
    padding: 0.15em;
  }

  & .dkcp-digit {
    font-size: 0.6em;
    opacity: 0.5;

    @media (width < 767px) {
      font-size: 0.45em;
    }
  }

  & .dkcp-title {
    font-size: 1.2em;
    font-family: var(--mono);
    letter-spacing: -0.01em;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.5em;

    @media (width < 767px) {
      font-size: 0.5em;
      font-weight: 500;
    }
  }

  & .dkcp-definition {
    font-size: 0.8em;
    line-height: 1.1;

    @media (width < 767px) {
      font-size: 0.5em;
    }

    & p {
      margin-bottom: 0.3em;
    }
  }

  & .dkcp-hint {
    font-family: var(--hand);
    color: rgba(var(--ids__pen-RGB), 1);
  }
}


/* Драфт-режим */
.dkcp-component--draft {
  margin: 4em 0 2em;

  & .dkcp-top {
    background-color: transparent;
    border-left: 2px solid rgba(var(--ids__text-RGB), 1);
    filter: drop-shadow(0px -2px 0px rgba(var(--ids__text-RGB), 1));
    height: 1em;

    @media (width < 767px) {
      border-left: 1px solid rgba(var(--ids__text-RGB), 1);
      filter: drop-shadow(0px -1px 0px rgba(var(--ids__text-RGB), 1));
    }

    &:before {
      background-color: rgba(var(--ids__surface-RGB), 1);
      clip-path: polygon(0 100%, 0 95%, 50% 0, 100% 95%, 100% 100%);
      border-bottom: none;
      top: -3.33em;
      height: 3.5em;
    }

    & .dkcp-block {
      border: none;
      margin-top: -3.3em;
    }
  }

  & .dkcp-facade {
    & .dkcp-row {
      &.columns {
        & .dkcp-block {
          min-height: 10em;

          @media (width < 767px) {
            min-height: 8em;
          }
        }
      }

      &.bottom-row {
        & .dkcp-block {
          min-height: 2em;

          @media (width < 767px) {
            min-height: 1.5em;
          }
        }
      }
    }
  }

  & .dkcp-bottom {
    min-height: 2em;
  }

  & .dkcp-block {
    background-color: transparent;
    border: 2px solid rgba(var(--ids__text-RGB), 1);
    border-right: none;
    border-bottom: none;

    @media (width < 767px) {
      border: 1px solid rgba(var(--ids__text-RGB), 1);
      border-right: none;
      border-bottom: none;
    }

    & .dkcp-digit {
      font-size: 0.6em;
      font-family: var(--mono);
      opacity: 1;

      @media (width < 767px) {
        font-size: 0.45em;
      }
    }

    & .dkcp-title {
      font-size: 0.8em;
      font-family: var(--mono);
      letter-spacing: 0em;
      font-weight: 500;
      /*line-height: 1;*/
      /*margin-bottom: 0.3em;*/

      @media (width < 767px) {
        font-size: 0.5em;
        font-weight: 500;
      }
    }

    & .dkcp-definition {
      font-size: 0.4em;
      font-family: var(--hand);
      color: rgba(var(--ids__pen-RGB), 1);
      hyphens: auto;

      @media (width < 767px) {
        /*font-size: 0.5em;*/
      }

      & p {
        margin-bottom: 0.5em;
      }
    }
  }
}
