.post-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0 20px;
  gap: 20px;
  max-width: var(--max-width-container);
}

.post-intro-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.post-list-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: 294px;
}

.post-list-container.center {
  text-align: right;
}

.post-list-container.gap {
  gap: 20px;
}

.post-banner-image {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: left;
  align-items: center;
  box-shadow: var(--shadow-spread) var(--color-shadow);
}

.post-banner-image.cover {
  min-height: 340px;
  max-height: 640px;
  object-fit: cover;
}

.post-heading {
  display: flex;
  width: 100%;
  margin: 0;
  padding-top: 20px;
  font-size: var(--font-size-h2);
  color: var(--color-accent);
  text-shadow: var(--text-shadow-sm) var(--color-accent-shadow);
}

.post-heading.title {
  padding-top: 30px;
  font-size: 44px;
  margin-bottom: 10px;
}

.post-heading.center {
  justify-content: center;
  text-align: center;
}

.post-text {
  width: 100%;
  font-family: var(--font-family-accent);
  font-size: var(--font-size-h3);
  line-height: 150%;
  letter-spacing: 1px;

  padding: 0;
  list-style-position: inside;
}

.post-text.half {
  width: 300px;
}

.post-text.center {
  text-align: center;
  align-self: center;
}

.post-text li::marker {
  font-weight: bold;
  font-size: var(--font-size-h3);
  font-family: var(--font-family-accent);
  color: var(--color-accent);
  text-shadow: var(--text-shadow-sm) var(--color-accent-shadow);
}

.post-text li {
  margin-bottom: 40px;
}

.post-text li:last-child {
  margin-bottom: 0;
}

.post-list-item {
  padding-left: 10px;
  color: var(--color-link);
  font-size: var(--font-size-body);
}

.post-list-item.gold {
  color: var(--color-accent);
}

.post-image {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.post-image.shadow {
  box-shadow: var(--shadow-spread) var(--color-shadow);
}

.post-image.half {
  max-width: 280px;
}

.post-image.center {
  margin: 0 auto;
}

.post-logo-link {
  align-self: baseline;
  flex: 0 0 auto;
  display: inline-block;
}

.post-logo {
  display: block;
  height: 40px;
}

.post-video {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  box-shadow: var(--shadow-spread) var(--color-shadow);
}

.post-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-cta-button {
  width: 180px;
  height: 44px;
  align-self: center;
}

.text-highlight {
  font-size: var(--font-size-h3);
  font-family: var(--font-family-base);
  font-weight: bold;
  width: 100%;
  margin: 0;
  line-height: 150%;
  color: var(--color-accent);
  text-shadow: var(--text-shadow-sm) var(--color-accent-shadow);
}

.post-spacing {
  margin-top: 10px;
}

.post-line {
  width: 80%;
  align-self: center;
  max-width: var(--max-width-container);
  border: none;
  border-top: 1px solid var(--color-text);
  margin: 40px 0 20px 0;
  opacity: 0.2;
}

.post-references-section {
  display: flex;
  justify-content: center;
}

.post-references-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  justify-content: center;
  align-items: center;


  max-width: var(--max-width-container);
  width: 100%;
  margin: 60px 20px 20px 20px;
}

pre[class*="language-"] {
  display: block;
  border-radius: 20px !important;
  background: #2e2e2e !important;
  padding: 10px 20px;
  overflow-x: auto;
}

code[class*="language-"] {
  display: block;
  white-space: pre-wrap !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  background: none !important;
}

@media (max-width: 680px) {
  .post-list-container.center {
    text-align: center;
  }
}