/* Base styles */
@import url("/static-06f3eb/css/pages/base.css");

/* Component Styles*/
@import url("/static-06f3eb/css/pages/devlog/devlog_card/devlog_card.css");

main {
  position: relative;
  grid-column: 2 / 2;
  padding-block: 85px 65px;

  color: #edeef5;
  font-family: Arial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.article-header {
  display: flex;
  flex-direction: column;
  gap: 11px;

  width: 100%;
  max-width: 846px;
  margin-inline: auto;
  padding-block: 87px 48px;
  padding-inline: 32px;
}

.article-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 100vw;
  height: 400px;

  background: linear-gradient(0deg, #000108 0%, rgba(0, 1, 8, 0.6) 50%, rgba(0, 0, 0, 0) 100%),
  var(--banner-image) no-repeat center/100%;
  background-position: center;
  background-size: 100%;

  z-index: -1;
}


@media (max-width: 768px) {
  main {
    padding-block: 10px 65px;
  }

  .article-header::before {
    height: 250px;
  }
}

.article-header h1 {
  font-size: 48px;
  line-height: 48px;
  font-weight: 400;
  margin-block-end: 10px;
}

.article-header a,
.devlog-header-details li {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.devlog-header-details li svg {
  width: 16px;
  height: 16px;
}

.back-link {
  padding-inline: 10px 7px;
  padding-block: 4px 8px;
  cursor: pointer;
  color: #747f9f;
  font-size: 14px;
  line-height: 20px;

  transition: color 330ms, padding 330ms;
}

.back-link > svg {
  width: 16px;
  height: 16px;
  margin-inline-end: 14px;

  transition: margin 330ms;
}

.back-link:hover {
  padding-inline: 5px 7px;
  color: #b2bbd8;
}

.back-link:hover > svg {
  margin-inline-end: 19px;
}

.devlog-header-details {
  display: flex;
  flex-direction: row;
  gap: 16px;

  color: #747f9f;
  font-size: 14px;
  line-height: 20px;
}

.devlog-header-details li {
  list-style-type: none;
  gap: 8px;
}

.devlog-body {
  width: 100%;
  padding-inline: 32px;
  padding-block-end: 80px;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

.devlog-body article {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-width: 756px;
  gap: 12px;

  color: #edeef5;
  font-family: Arial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.devlog-body article h2,
.devlog-body article h3,
.devlog-body article h4,
.devlog-body article h5 {
  color: #57699c;
}

.devlog-body article h2 {
  margin-block: 36px 12px;
}

.devlog-body article h3 {
  margin-block: 24px 8px;
}

.devlog-body article h4 {
  margin-block: 18px 6px;
}

.devlog-body article h5 {
  margin-block: 12px 4px;
}

.devlog-body article p {
  padding-inline: 12px;
}

.devlog-body article strong {
  padding-inline: 6px;
}

.devlog-body article ul {
  padding-block: 12px;
  padding-inline: 40px;
  list-style: none;
}

.devlog-body article li {
  padding-block: 3px 5px;
  padding-inline: 2px;

  position: relative;
  display: flex;
  align-items: center;
}

.devlog-body article li::before {
  content: "";
  position: absolute;
  left: -30px;
  width: 20px;
  height: 20px;
  background: url("/static-06f3eb/images/list-decorator-2.png") no-repeat center / contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.devlog-body article a {
  color: #747f9f;
}

.devlog-body article a:hover {
  color: #57699c;
}

.additional-info-container {
  min-width: 250px;
  max-width: 400px;
  margin-inline: auto;

  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 24px;
}

.additional-info-card {
  user-select: none;

  width: 100%;
  padding: 24px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  flex-shrink: 0;
  align-self: stretch;

  border-radius: 14px;
  border: 1px solid #10132c;
  background: #010210;
}

.additional-info-card h3,
.additional-info-card p,
.additional-info-card li,
.additional-info-card button {
  font-family: Arial;
  font-style: normal;
  font-weight: 400;
}

.additional-info-card h3 {
  color: #edeef5;
  font-size: 16px;
  line-height: 24px;
}

.additional-info-card p {
  color: #747f9f;
  font-size: 14px;
  line-height: 20px;
}

.additional-info-card h3 svg {
  width: 18px;
  height: 18px;
  margin-inline-end: 8px;
}

.additional-info-card ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.additional-info-card li {
  list-style: none;
  padding-inline: 8px;
  padding-block: 2px;

  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0);
  background: #141030;

  color: #edeef5;
  font-size: 12px;
  line-height: 16px;
}

.additional-info-card button {
  display: flex;
  height: 32px;
  padding: 0 12px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex: 1 0 0;

  color: #edeef5;
  border-radius: 8px;
  border: 1px solid #10132c;
  background: rgba(16, 19, 44, 0.3);
}

.share-button-container {
  width: 100%;
  display: flex;
  gap: 8px;
}

.more-articles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 32px;

  padding-block-start: 45px;
  padding-inline: 32px;

  border-top: solid 1px #10132c;
}

.more-articles-container h3 {
  font-weight: 400;
  grid-column: 1 / -1;
}

.devlog-container {
  padding-inline: 32px;
  height: 100%;
}
