:root {
  --nightshop-blog-black: #000;
  --nightshop-blog-heading: #232536;
  --nightshop-blog-text: #6d6e76;
  --nightshop-blog-muted: #929292;
  --nightshop-blog-accent: #5236d0;
}

#module-ets_blog-blog #wrapper,
#ets_blog_page #wrapper {
  background: #fff;
}

#module-ets_blog-blog #wrapper .breadcrumb,
#ets_blog_page #wrapper .breadcrumb {
  display: none;
}

#module-ets_blog-blog #wrapper .container,
#ets_blog_page #wrapper .container {
  width: 100%;
  max-width: 1440px;
  padding-right: 64px;
  padding-left: 64px;
}

#module-ets_blog-blog #content-wrapper,
#ets_blog_page #content-wrapper {
  padding-right: 0;
  padding-left: 0;
}

.nightshop-blog-page {
  width: 100%;
  color: var(--nightshop-blog-black);
  font-family: Inter, sans-serif;
}

.nightshop-blog-post {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 64px; */
  width: 100%;
  padding: 48px 0 64px;
}

.nightshop-blog-post__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 961px);
  gap: 32px;
}

.nightshop-blog-post__title {
  width: 100%;
  margin: 0;
  color: var(--nightshop-blog-black);
  font-family: Archivo, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.nightshop-blog-post__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--nightshop-blog-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nightshop-blog-post__meta a {
  color: var(--nightshop-blog-accent);
  text-decoration: none;
}

.nightshop-blog-post__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 32px;
}

.nightshop-blog-post__body h2,
.nightshop-blog-post__body h3,
.nightshop-blog-post__body h4 {
  width: 100%;
  margin: 0 0 -16px;
  color: var(--nightshop-blog-heading);
  font-family: Archivo, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.nightshop-blog-post__body p,
.nightshop-blog-post__body li {
  margin: 0;
  color: var(--nightshop-blog-text) !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: .01em;
}

.nightshop-blog-post__body p span,
.nightshop-blog-post__body li span {
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  background: transparent !important;
}

.nightshop-blog-post__body ul,
.nightshop-blog-post__body ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding-left: 22px;
}

.nightshop-blog-post__body ul {
  list-style: disc;
}

.nightshop-blog-post__body ol {
  list-style: decimal;
}

.nightshop-blog-post__body img,
.nightshop-blog-post__image {
  display: block;
  width: 100%;
  height: 384px;
  margin: 0;
  overflow: hidden;
  background: #f3f3f3;
}

.nightshop-blog-post__body img,
.nightshop-blog-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nightshop-blog-related {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1312px;
  gap: 32px;
}

.nightshop-blog-related h2 {
  width: 100%;
  margin: 0;
  color: #1a1a1a;
  font-family: Archivo, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .01em;
}

.nightshop-blog-related__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.nightshop-blog-related-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 32px;
}

.nightshop-blog-related-card__image {
  display: block;
  width: 100%;
  height: 240px;
  background-color: #f3f3f3;
  background-position: center;
  background-size: cover;
}

.nightshop-blog-related-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
}

.nightshop-blog-related-card__text {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
}

.nightshop-blog-related-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.nightshop-blog-related-card h3 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--nightshop-blog-black);
  font-family: Archivo, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.nightshop-blog-related-card h3 a {
  color: inherit;
  text-decoration: none;
}

.nightshop-blog-related-card__arrow {
  display: flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--nightshop-blog-black);
}

.nightshop-blog-related-card__arrow svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nightshop-blog-related-card p {
  width: 100%;
  margin: 0;
  color: var(--nightshop-blog-muted);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .01em;
}

.nightshop-blog-related-card time {
  color: var(--nightshop-blog-accent);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  #module-ets_blog-blog #wrapper .container,
  #ets_blog_page #wrapper .container {
    padding-right: 40px;
    padding-left: 40px;
  }

  .nightshop-blog-related__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  #module-ets_blog-blog #wrapper .container,
  #ets_blog_page #wrapper .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .nightshop-blog-post {
    gap: 48px;
    padding: 32px 0 48px;
  }

  .nightshop-blog-post__title {
    font-size: 28px;
  }

  .nightshop-blog-post__meta {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  .nightshop-blog-post__body img,
  .nightshop-blog-post__image {
    height: auto;
    aspect-ratio: 961 / 384;
  }

  .nightshop-blog-related__row {
    grid-template-columns: 1fr;
  }
}
