#entry.section {
  padding-top: 32px;
  padding-bottom: 32px;
}

#entry.section > .container {
  display: grid;
  grid-template-columns: calc(100% - 304px) 304px;
  column-gap: 16px;
}

@media (max-width: 1000px) {
  #entry.section > .container {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
}

#entry.section .entry__metadata-top {
  display: grid;
  grid-template-columns: calc(50% - 8px) calc(50% - 8px);
  font-size: 14px;
  column-gap: 16px;
  margin-bottom: 24px;
  opacity: .5;
}

#entry.section .entry__metadata-top .entry__category {
  display: flex;
  justify-content: flex-end;
}

#entry.section .entry__metadata-top .entry__category-link {
  text-decoration: underline;
  color: inherit;
}

#entry.section .entry__metadata-top .entry__category-label,
#entry.section .entry__metadata-top .entry__time-label {
  font-weight: 500;
}

#entry.section .entry__metadata-top .entry__category-label::after,
#entry.section .entry__metadata-top .entry__time-label::after {
  content: ':';
  margin-right: 4px;
}

#entry.section .entry__body {
  background-color: var(--secondary-color-2);
  font-size: 16px;
  border: 1px solid var(--primary-color-1);
  padding: 16px 24px;
  box-shadow: 0 0 10px var(--primary-color-2--opacity-0-25);
}

#entry.section .entry__body > .entry__title {
  text-transform: uppercase;
  font-size: 24px;
  border-bottom: 2px solid var(--primary-color-2);
  padding-bottom: 8px;
  margin-top: 0;
  margin-bottom: 24px;
}

#entry.section .entry__body > .entry__content {
  font-size: 14px;
  margin-bottom: 20px;
}

#entry.section .entry__body > .entry__content,
#entry.section .entry__body > .entry__content *:has(img + img),
#entry.section .entry__body > .entry__content *:has(figure + figure) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

#entry.section .entry__body > .entry__content > * {
  grid-column: 1 / -1;
  word-break: break-word;
}

@media (max-width: 499px) {
  #entry.section .entry__body > .entry__content {
    font-size: 14px;
  }
}

#entry.section .entry__body > .entry__content a {
  color: var(--primary-color-2);
  transition: color .1s;
}

#entry.section .entry__body > .entry__content a:hover {
  color: var(--primary-color-4);
}

#entry.section .entry__body > .entry__content a:focus,
#entry.section .entry__body > .entry__content a:active {
  color: var(--primary-color-4);
  outline: 0;
}

#entry.section .entry__body > .entry__content p {
  font-weight: 400 !important;
  margin: 0;
}

#entry.section .entry__body > .entry__content iframe {
  display: block;
  max-width: 100%;
}

#entry.section .entry__body > .entry__content iframe:not(:last-child) {
  margin-bottom: 10px;
}

#entry.section .entry__body > .entry__content ul,
#entry.section .entry__body > .entry__content ol {
  font-weight: 400 !important;
  margin-top: 0;
}

#entry.section .entry__body > .entry__content ul:not(:last-child),
#entry.section .entry__body > .entry__content ol:not(:last-child) {
  margin-bottom: 10px;
}

#entry.section .entry__body > .entry__content .video-container:nth-of-type(n+5),
#entry.section .entry__body > .entry__content img:nth-child(n+5),
#entry.section .entry__body > .entry__content figure:nth-child(n+5) {
  grid-column: 1 / -1;
  max-width: 100%;
}

#entry.section .entry__body > .entry__content img,
#entry.section .entry__body > .entry__content figure,
#entry.section .entry__body > .entry__content .video-container {
  grid-column: auto;
  max-width: 100%;
  height: fit-content;
}

#entry.section .entry__body > .entry__content img {
  box-sizing: border-box;
  border: 1px solid var(--primary-color-2);
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  cursor: pointer;
}

#entry.section .entry__body > .entry__content > figure {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 10px;
}

#entry.section .entry__body > .entry__content > figure img {
  margin-bottom: 8px;
}

#entry.section .entry__body > .entry__content > figure figcaption {
  font-style: italic;
  font-size: 14px;
  color: var(--primary-color-2--opacity-0-50);
}

#entry.section .entry__body > .entry__content h1,
#entry.section .entry__body > .entry__content h2 {
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

#entry.section .entry__body > .entry__content h3 {
  font-size: 16px;
  font-weight: 700;
}

#entry.section .entry__body > .entry__content h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

#entry.section .entry__body > .entry__content h5,
#entry.section .entry__body > .entry__content h6 {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

#entry.section .entry__body > .entry__content h1,
#entry.section .entry__body > .entry__content h2,
#entry.section .entry__body > .entry__content h3,
#entry.section .entry__body > .entry__content h4,
#entry.section .entry__body > .entry__content h5,
#entry.section .entry__body > .entry__content h6  {
  padding-top: 10px;
  margin-top: 0;
  margin-bottom: 10px;
}

#entry.section .entry__body > .entry__content blockquote {
  box-sizing: border-box;
  background-color: var(--primary-color-1);
  font-size: 14px;
  font-style: italic;
  color: var(--primary-color-2);
  border-top: 2px solid var(--primary-color-2);
  border-bottom: 2px solid var(--primary-color-2);
  padding: 10px 20px 10px 40px;
  margin: 0;
  width: fit-content;
}

#entry.section .entry__body > .entry__content blockquote:not(:last-child) {
  margin-bottom: 10px;
}

#entry.section .entry__metadata-bottom {
  display: grid;
  grid-template-columns: calc(50% - 8px) calc(50% - 8px);
  list-style-type: none;
  font-size: 14px;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 24px;
  column-gap: 16px;
  opacity: .5;
}

@media (max-width: 500px) {
  #entry.section .entry__metadata-bottom {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
}

@media (min-width: 501px) {
  #entry.section .entry__metadata-bottom .metadata-bottom__item:nth-child(2) {
    display: flex;
    justify-content: flex-end;
  }
}

#entry.section .entry__metadata-bottom .metadata-bottom__item-label {
  font-weight: 500;
}

#entry.section .entry__metadata-bottom .metadata-bottom__item-label::after {
  content: ':';
  margin-right: 4px;
}

#entry.section .entry__previous-section {
  display: flex;
  flex-direction: column;
  background-color: var(--color-brand-light);
  border-top: 1px solid var(--common-text-color-1-opacity-0-25);
  padding-top: 20px;
}

#entry.section .entry__previous-section .previous-section__title {
  text-transform: uppercase;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 20px;
}

#entry.section .entry__previous-section .previous-section__entry-title {
  text-transform: uppercase;
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 10px;
}

#entry.section .entry__previous-section .previous-section__entry-description {
  font-size: 14px;
  color: var(--common-text-color-1);
  margin-bottom: 10px;
}

#entry.section .entry__previous-section .previous-section__entry-link {
  color: var(--primary-color-2);
  transition: color .1s;
}

#entry.section .entry__previous-section .previous-section__entry-link:hover {
  color: var(--primary-color-4);
}

#entry.section .entry__previous-section .previous-section__entry-link:focus,
#entry.section .entry__previous-section .previous-section__entry-link:active {
  color: var(--primary-color-4);
  outline: 0;
}

#entry.section .entry__previous-section .previous-section__entry-link {
  align-self: flex-end;
  font-size: 14px;
}