.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-self: start;
  width: 294px;
}

.post-list-container.center {
  text-align: right;
}

.post-list-container.gap {
  gap: 20px;
}

.post-banner-cover {
  width: 100%;
  min-height: 340px;
  max-height: 640px;
  background: linear-gradient(to bottom, var(--color-primary-darker) 0%, var(--color-primary-dark) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-cover-coin-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.post-cover-coin {
  height: 260px;
  display: block;
}

@media (min-width: 721px) {
  .post-banner-cover {
    min-height: 520px;
  }

  .post-cover-coin {
    height: 300px;
  }
}

.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);

  user-select: none;
  -webkit-user-select: none;
}

.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;
  flex-direction: column;
  align-items: center;
}

h2.post-heading {
  font-size: 44px;
}

.post-heading-subtitle {
  display: block;
  font-size: var(--font-size-h2);
}

h2.post-heading[id] {
  text-transform: uppercase;
}

.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-emphasis {
  color: var(--color-accent);
  font-weight: 700;
}

.post-bullet-list {
  padding: 0;
  margin: 0;
  list-style-position: outside;
  padding-left: 20px;
  font-family: var(--font-family-accent);
  font-size: var(--font-size-h3);
  line-height: 150%;
  letter-spacing: 1px;
}

.post-bullet-list li {
  margin-bottom: 12px;
}

.post-bullet-list li:last-child {
  margin-bottom: 0;
}

.post-bullet-list li::marker {
  font-weight: bold;
  color: var(--color-accent);
  text-shadow: var(--text-shadow-sm) var(--color-accent-shadow);
}

.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;
  margin-bottom: 10px;

  user-select: none;
  -webkit-user-select: none;
}

.post-image.shadow {
  box-shadow: var(--shadow-md) var(--color-button-gold-shadow);
}

.post-image.border {
  border: 1px solid var(--color-button-gold);
}

.post-image.half {
  max-width: 280px;
}

.post-image.smaller {
  max-width: 600px;
}

.post-image.xsmaller {
  max-width: 180px;
}

.post-image.icon {
  max-width: 60px;
  box-shadow: var( --shadow-spread) var(--color-button-text-shadow);
}

.post-image.nomargin {
  margin: 0;
}

.post-image.center {
  margin: 0 auto;
}

.post-inline-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-text-large-marker {
  list-style: none;
  counter-reset: post-large-marker;
}

.post-text-large-marker li {
  counter-increment: post-large-marker;
  font-size: var(--font-size-h2);
}

.post-text-large-marker li .text-highlight {
  display: inline-block;
  width: auto;
  font-size: var(--font-size-h2);
  line-height: 120%;
  margin-bottom: 20px;
  word-spacing: -1px;
}

.post-text-large-marker li .text-highlight::before {
  content: counter(post-large-marker) ". ";
  font-weight: bold;
  color: var(--color-accent);
  text-shadow: var(--text-shadow-sm) var(--color-accent-shadow);
}

.post-logo-link {
  align-self: baseline;
  flex: 0 0 auto;
  display: inline-block;
}

.post-logo {
  display: block;
  height: 40px;

  user-select: none;
  -webkit-user-select: none;
}

.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);

  user-select: none;
  -webkit-user-select: none;
}

.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-phase-label {
  font-family: var(--font-family-base);
  font-size: var(--font-size-medium);
  font-weight: 600;
  color: var(--color-text);
  background-color: var(--color-primary-highlight-fade);
  border-radius: 14px;
  padding: 4px 16px;
  align-self: flex-start;
  letter-spacing: -0.5px;
}

.post-self-start {
  align-self: flex-start;
}

.post-text-title {
  font-family: var(--font-family-accent);
  font-size: var(--font-size-h3);
  font-weight: bold;
  color: var(--color-text);
  line-height: 150%;
  letter-spacing: 1px;
  width: 100%;
  padding: 0;
  margin: 0 !important;
}

.post-code-link {
  font-family: var(--font-family-base);
  font-size: var(--font-size-medium);
  font-weight: 600;
  letter-spacing: 0px;
  color: var(--color-accent);
  background-color: var(--color-primary-shadow);
  border-radius: 6px;
  padding: 2px 6px;
  text-decoration: underline;
  white-space: nowrap;
  text-shadow: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media (hover: hover) {
  .post-code-link:hover {
    background-color: var(--color-link);
    color: var(--color-background);
  }
}

.post-analytics-center {
  align-self: center;
}

.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;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  align-self: center;
  border-radius: 20px !important;
  background: #282c34 !important;
  padding: 5px 20px;
  overflow-x: auto;
  box-shadow: var(--shadow-spread) var(--color-mobile-nav-shadow);
}

code[class*="language-"] {
  display: block;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  background: none !important;
}

@media (max-width: 720px) {
  .post-list-container.center {
    text-align: center;
  }
}