@font-face {
  font-family: "Stapel Regular";
  src: local("Stapel Regular"), local("Stapel-Regular"), url("../public/fonts/Stapel-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Stapel Medium";
  src: local("Stapel Medium"), local("Stapel-Medium"), url("../public/fonts/Stapel-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Stapel Light";
  src: local("Stapel Light"), local("Stapel-Light"), url("../public/fonts/Stapel-Light.woff2") format("woff2");
}

.PlaygroundEditorTheme__blockCursor {
  display: block;
  pointer-events: none;
  position: absolute;
}

.PlaygroundEditorTheme__blockCursor:after {
  content: "";
  display: block;
  position: absolute;
  top: -2px;
  width: 20px;
  border-top: 1px solid black;
  animation: CursorBlink 1.1s steps(2, start) infinite;
}

.PlaygroundEditorTheme__characterLimit {
  display: inline;
  background-color: #ffbbbb !important;
}

/* #region Code */

.PlaygroundEditorTheme__code {
  background-color: rgb(240, 242, 245);
  font-family: Menlo, Consolas, Monaco, monospace;
  display: block;
  padding: 8px 8px 8px 52px;
  font-size: 16px;
  margin: 0;
  margin-top: 8px;
  margin-bottom: 8px;
  tab-size: 2;
  overflow-x: auto;
  position: relative;
  color: #000;
}

.PlaygroundEditorTheme__code:before {
  content: attr(data-gutter);
  position: absolute;
  background-color: #eee;
  left: 0;
  top: 0;
  border-right: 1px solid #ccc;
  padding: 8px;
  color: #777;
  white-space: pre-wrap;
  text-align: right;
  min-width: 25px;
  height: 100%;
}

/* #region CodeHighlight */

.PlaygroundEditorTheme__tokenAttr {
  color: #07a;
}

.PlaygroundEditorTheme__tokenProperty {
  color: #905;
}

.PlaygroundEditorTheme__tokenSelector {
  color: #690;
}

.PlaygroundEditorTheme__tokenComment {
  color: slategray;
}

.PlaygroundEditorTheme__tokenFunction {
  color: #dd4a68;
}

.PlaygroundEditorTheme__tokenOperator {
  color: #9a6e3a;
}

.PlaygroundEditorTheme__tokenVariable {
  color: #e90;
}

.PlaygroundEditorTheme__tokenPunctuation {
  color: #999;
}

/* #endregion CodeHighlight */

/* #endregion Code */

/* #region EmbedBlock */

.PlaygroundEditorTheme__embedBlock {
  user-select: none;
}

.PlaygroundEditorTheme__embedBlockFocus {
  outline: 2px solid rgb(60, 132, 244);
}

/* #endregion EmbedBlock */

.PlaygroundEditorTheme__hashtag {
  background-color: rgba(88, 144, 255, 0.15);
  border-bottom: 1px solid rgba(88, 144, 255, 0.3);
}

/* #region Heading */

h1 {
  font-size: 2.1em;
}

h2 {
  font-size: 1.8em;
}

h3 {
  font-size: 1.5em;
}

.PlaygroundEditorTheme__h1,
.PlaygroundEditorTheme__h2,
.PlaygroundEditorTheme__h3 {
  font-family: Stapel Medium;
  margin: unset;
}

/* #endregion Heading */

/* #region Image */

span.editor-image {
  position: relative;
  display: block;
  cursor: default;
  z-index: 1;
}

.editor-image img {
  width: 100%;
  height: auto;
  display: block;
  cursor: default;
}

.editor-image::after {
  content: attr(data-caption);
  width: fit-content;
}

.editor-image.position-center {
  margin-top: 1em;
  margin-left: auto;
  margin-right: auto;
}

.editor-image.position-left {
  margin-top: 1em;
  margin-right: auto;
}

.editor-image.position-right {
  margin-top: 1em;
  margin-left: auto;
}

.editor-image.streamline-left {
  float: left;
  margin-right: 1em;
}

.editor-image.streamline-right {
  float: right;
  margin-left: 1em;
}

/* #endregion Image */

.PlaygroundEditorTheme__indent {
  --lexical-indent-base-value: 40px;
}

.PlaygroundEditorTheme__link {
  color: rgb(33, 111, 219);
  text-decoration: none;
}

.PlaygroundEditorTheme__link:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* #region List */

ol,
ol .PlaygroundEditorTheme__listItem {
  list-style-type: decimal;
}

.PlaygroundEditorTheme__ol1,
.PlaygroundEditorTheme__ol2,
.PlaygroundEditorTheme__ol3,
.PlaygroundEditorTheme__ol4,
.PlaygroundEditorTheme__ol5 {
  padding: 0;
  margin: 0;
  list-style-position: inside;
}

.PlaygroundEditorTheme__ol2 {
  list-style-type: upper-alpha;
}

.PlaygroundEditorTheme__ol3 {
  list-style-type: lower-alpha;
}

.PlaygroundEditorTheme__ol4 {
  list-style-type: upper-roman;
}

.PlaygroundEditorTheme__ol5 {
  list-style-type: lower-roman;
}

ul,
ul .PlaygroundEditorTheme__listItem {
  list-style-position: inside;
  list-style-type: disc;
}

.PlaygroundEditorTheme__ul {
  padding: 0;
  margin: 0;
}

.PlaygroundEditorTheme__listItem {
  margin: 0 14px;
  margin-bottom: 8px;
  font-size: 18px;
}

.PlaygroundEditorTheme__listItemChecked,
.PlaygroundEditorTheme__listItemUnchecked {
  position: relative;
  margin-left: 8px;
  margin-right: 8px;
  padding-left: 24px;
  padding-right: 24px;
  list-style-type: none;
  outline: none;
}

.PlaygroundEditorTheme__listItemChecked {
  text-decoration: line-through;
}

.PlaygroundEditorTheme__listItemUnchecked:before,
.PlaygroundEditorTheme__listItemChecked:before {
  content: "";
  width: 16px;
  height: 16px;
  top: 2px;
  left: 0;
  cursor: pointer;
  display: block;
  background-size: cover;
  position: absolute;
}

.PlaygroundEditorTheme__listItemUnchecked[dir="rtl"]:before,
.PlaygroundEditorTheme__listItemChecked[dir="rtl"]:before {
  left: auto;
  right: 0;
}

.PlaygroundEditorTheme__listItemUnchecked:focus:before,
.PlaygroundEditorTheme__listItemChecked:focus:before {
  box-shadow: 0 0 0 2px #a6cdfe;
  border-radius: 2px;
}

.PlaygroundEditorTheme__listItemUnchecked:before {
  border: 1px solid #999;
  border-radius: 2px;
}

.PlaygroundEditorTheme__listItemChecked:before {
  border: 1px solid rgb(61, 135, 245);
  border-radius: 2px;
  background-color: #3d87f5;
  background-repeat: no-repeat;
}

.PlaygroundEditorTheme__listItemChecked:after {
  content: "";
  cursor: pointer;
  border-color: #fff;
  border-style: solid;
  position: absolute;
  display: block;
  top: 6px;
  width: 3px;
  left: 7px;
  right: 7px;
  height: 6px;
  transform: rotate(45deg);
  border-width: 0 2px 2px 0;
}

.PlaygroundEditorTheme__nestedListItem {
  list-style-type: none;
}

.PlaygroundEditorTheme__nestedListItem:before,
.PlaygroundEditorTheme__nestedListItem:after {
  display: none;
}

/* #endregion List */

.PlaygroundEditorTheme__ltr {
  text-align: left;
}

.PlaygroundEditorTheme__mark {
  background: rgba(255, 212, 0, 0.14);
  border-bottom: 2px solid rgba(255, 212, 0, 0.3);
  padding-bottom: 2px;
}

.PlaygroundEditorTheme__markOverlap {
  background: rgba(255, 212, 0, 0.3);
  border-bottom: 2px solid rgba(255, 212, 0, 0.7);
}

.PlaygroundEditorTheme__mark.selected {
  background: rgba(255, 212, 0, 0.5);
  border-bottom: 2px solid rgba(255, 212, 0, 1);
}

.PlaygroundEditorTheme__markOverlap.selected {
  background: rgba(255, 212, 0, 0.7);
  border-bottom: 2px solid rgba(255, 212, 0, 0.7);
}

.PlaygroundEditorTheme__paragraph {
  font-size: 18px;
  margin: unset;
  position: relative;
  line-height: 1.4;
}

.PlaygroundEditorTheme__quote {
  font-size: 16px;
  line-height: 1.4em;
  margin: unset;
  padding: 10px;
  border-left: 5px solid red;
  background-color: #ededed;
}

.PlaygroundEditorTheme__rtl {
  text-align: right;
}

/* #region Table */

.PlaygroundEditorTheme__table {
  border-collapse: collapse;
  border-spacing: 0;
  max-width: 100%;
  overflow-y: scroll;
  table-layout: fixed;
  margin: 30px 0;
}

.PlaygroundEditorTheme__tableSelected {
  outline: 2px solid rgb(60, 132, 244);
}

.PlaygroundEditorTheme__tableCell {
  border: 1px solid #bbb;
  min-width: 75px;
  vertical-align: top;
  text-align: start;
  padding: 6px 8px;
  position: relative;
  cursor: default;
  outline: none;
}

.PlaygroundEditorTheme__tableCellSortedIndicator {
  display: block;
  opacity: 0.5;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #999;
}

.PlaygroundEditorTheme__tableCellHeader {
  font-weight: 400;
  text-align: start;
}

.PlaygroundEditorTheme__tableCellSelected {
  background-color: #c9dbf0;
}

.PlaygroundEditorTheme__tableCellPrimarySelected {
  border: 2px solid rgb(60, 132, 244);
  display: block;
  height: calc(100% - 2px);
  position: absolute;
  width: calc(100% - 2px);
  left: -1px;
  top: -1px;
  z-index: 2;
}

.PlaygroundEditorTheme__tableCellEditing {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  border-radius: 3px;
}

.PlaygroundEditorTheme__tableAddColumns {
  position: absolute;
  top: 0;
  width: 20px;
  background-color: #eee;
  height: 100%;
  right: 0;
  animation: table-controls 0.2s ease;
  border: 0;
  cursor: pointer;
}

.PlaygroundEditorTheme__tableAddColumns:after {
  display: block;
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.PlaygroundEditorTheme__tableAddColumns:hover {
  background-color: #c9dbf0;
}

.PlaygroundEditorTheme__tableAddRows {
  position: absolute;
  bottom: -25px;
  width: calc(100% - 25px);
  background-color: #eee;
  height: 20px;
  left: 0;
  animation: table-controls 0.2s ease;
  border: 0;
  cursor: pointer;
}

.PlaygroundEditorTheme__tableAddRows:after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.PlaygroundEditorTheme__tableAddRows:hover {
  background-color: #c9dbf0;
}

@keyframes table-controls {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.PlaygroundEditorTheme__tableCellActionButtonContainer {
  display: block;
  right: 5px;
  top: 6px;
  position: absolute;
  z-index: 4;
  width: 20px;
  height: 20px;
}

.PlaygroundEditorTheme__tableCellActionButton {
  background-color: #eee;
  display: block;
  border: 0;
  border-radius: 20px;
  width: 20px;
  height: 20px;
  color: #222;
  cursor: pointer;
}

.PlaygroundEditorTheme__tableCellActionButton:hover {
  background-color: #ddd;
}

.PlaygroundEditorTheme__tableCellResizer {
  position: absolute;
  right: -4px;
  height: 100%;
  width: 8px;
  cursor: ew-resize;
  z-index: 10;
  top: 0;
}

.PlaygroundEditorTheme__tableCellResizeRuler {
  display: block;
  position: absolute;
  width: 1px;
  background-color: rgb(60, 132, 244);
  height: 100%;
  top: 0;
}

/* #endregion Table */

/* #region Text */

.PlaygroundEditorTheme__textBold {
  font-weight: bold;
}

.PlaygroundEditorTheme__textCode {
  background-color: rgb(240, 242, 245);
  padding: 1px 0.25rem;
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 16px;
}

.PlaygroundEditorTheme__textItalic {
  font-style: italic;
}

.PlaygroundEditorTheme__textStrikethrough {
  text-decoration: line-through;
}

.PlaygroundEditorTheme__textSubscript {
  font-size: 0.8em;
  vertical-align: sub !important;
}

.PlaygroundEditorTheme__textSuperscript {
  font-size: 0.8em;
  vertical-align: super;
}

.PlaygroundEditorTheme__textUnderline {
  text-decoration: underline;
}

.PlaygroundEditorTheme__textUnderlineStrikethrough {
  text-decoration: underline line-through;
}

/* #endregion Text */

.blog-section {
  padding: 70px 0px;
}

.blog-content-title {
  font-family: Stapel Medium;
  font-size: 3.1em;
  margin-bottom: 20px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-article-container {
  display: flex;
  flex-direction: column;
  border: 1px solid #e4e5e7;
  gap: 20px;
  border-radius: 30px;
  padding: 30px;
  line-height: 1;
  font-family: Stapel Regular;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-article-container.short:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-article-container p {
  margin: unset;
}

.blog-article-container.short .head-image {
  margin-bottom: unset;
}

.blog-article-container.short .text-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-article-container.short .more-btn-container {
  margin-top: auto;
  margin-left: auto;
}

.blog-article-container.short .check-case-btn {
  width: 100%;
}

.blog-article-container .head-image {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.blog-article-container .head-image img {
  width: 100%;
  height: auto;
}

.blog-article-container .head {
  font-family: Stapel Medium;
  font-size: 2.1em;
  padding: unset;
  margin: unset;
}

.blog-article-container .light-text {
  font-family: Stapel Light;
}

.link-without-style {
  text-decoration: none;
  color: #000;
}

.blog-article-container .short-description {
  font-family: Stapel Regular;
  font-size: 20px;
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .blog-article-container.short {
    flex-direction: row;
    gap: 50px;
  }
}
