video {
  width: 100%;
  max-height: 24rem;
}

.video-list > * + *, .audio-list > * + * {
  margin-top: 3rem;
}

.markdown .video-list > li,
.markdown .audio-list > li {
  list-style-type: none;
  margin-bottom: 0;
}

.markdown .video-list,
.markdown .audio-list {
  margin-top: 5rem;
  padding: 0;
}

figure {
  margin: 0;
  padding: 0;
}

figcaption {
  margin-bottom: 1rem;
}

img + em, table + p em, img + em a, table + p a {
  font-style: normal;
  font-family: Futura-Boo, sans-serif;
  font-size: 1rem;
  color: rgb(127, 112, 116);
}

/* TAG NAVIGATION */
.tag-nav {
	position: relative;
  line-height: 1.15;
  font-size: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.05);
}


.tag-nav a {
  margin-right: 1rem;
}


.tag-nav > div {
  display: flex;
  max-width: 848px;
  margin: 0 auto;
}

.tag-nav-link-container {
  display: flex;
}

.tag-nav-link-container > a {
  border-bottom: 2px solid transparent;
}

.tag-nav-link-container > a:hover {
  border-bottom: 2px solid #231f20;
  transition: border-color .15s ease-in;
}

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.active-page {
  background: #231f20;
  color: white;
}

.prev-link, .next-link {
  background: #231f20;
  padding: 0.5rem 1rem;
  color: white;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
}

.prev-link::before, .next-link::after {
  content: '';
  background: url(/static/res/img/chevron-left-white.svg);
  width: 13px;
  height: 20px;
  background-size: 13px 20px;
  display: inline-block;
  margin-right: 1rem;
}

.next-link::after {
  background: url(/static/res/img/chevron-right-white.svg);
  margin-right: 0;
  margin-left: 1rem;
}


.prev-link:hover, .next-link:hover {
  opacity: 0.85;
  transition: opacity .15s ease-in;
}


/* TAG LIST */
.tag-list {
	display: flex;
	flex-wrap: wrap;
  margin-top: 1rem;
}


.tag-list a {
  border-bottom: 0;
}

.tag-list > li:not(:last-child) {
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
}

.inline-tag-list {
  display: inline-flex;
  flex-wrap: wrap;
  pointer-events: all;
  margin-bottom: 1rem;
}

.inline-tag-list > li {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.inline-tag-list > li > a {
  border-bottom: 0;
}

.tag-summary {
	cursor: pointer;
	list-style-type: none;
	margin-bottom: 0rem;
	padding-right: 30px;
	font-family: Futura-Boo, sans-serif;
	position: absolute;
	top: 1rem;
	left: 203px;
	line-height: 1.25;
}

.tag-summary::after {
	background: url(/static/res/img/chevron-down-small.svg) no-repeat right 50%;
	width: 12px;
	height: 10px;
	content: '';
	display: inline-block;
	padding-left: 12px;
	transition: 0.3s ease-in-out;
  transform-origin: 65%;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-ms-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
}

details[open] .tag-summary::after {
	transform-origin: 65%;
	transition: 0.3s ease-in-out;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-ms-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.latest-posts {
  margin-top: 2rem;
  margin-bottom: 4rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.latest-posts > ol {
  margin-bottom: 3rem;
}

.pill:hover, .pill-lg:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.pill-xl {
	padding: 0.5rem;
	color: rgb(93, 82, 84);
	background-color: rgba(0, 0, 0, 0.05);
	border-radius: 500px;
	display: inline-flex;
	align-items: center;
	font-family: Futura-Bol, sans-serif;
	line-height: 1.25;
  font-size: 1.5rem;
}

.pill-xl > span {
	margin-right: 1rem;
	width: 9px;
	height: 9px;
	background-color: rgb(255, 255, 255);
	border-radius: 50%;
	line-height: 1;
}

.pill-lg {
	padding: 0.5rem;
	color: rgb(93, 82, 84);
	background-color: rgba(0, 0, 0, 0.05);
	font-size: 1rem;
	font-family: Futura-Med, sans-serif;
	border-radius: 500px;
	display: inline-flex;
	-moz-box-align: center;
	align-items: center;
	line-height: 1;
	font-weight: 400;
	font-size: 1.125rem;
}

.pill-link {
  margin-bottom: 2rem;
}

.pill-link > a {
  border-bottom: 0;
}

.pill-lg > span {
	margin-right: 10px;
	width: 7.5px;
	background-color: rgb(255, 255, 255);
	border-radius: 50%;
	height: 7.5px;
	line-height: 1;
}

.pill {
  padding: 0.5rem;
  color: rgb(93, 82, 84);
  background-color: rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  font-family: Futura-Boo, sans-serif;
  border-radius: 500px;
  display: inline-flex;
  -moz-box-align: center;
  align-items: center;
  line-height: 1;
}

.pill > span {
  margin-right: 6px;
  margin-bottom: 2px;
  width: 6px;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  height: 6px;
  line-height: 1;
}


.post-list-container {
  margin: 0 1rem 8rem 1rem;
}

.post-list-container > h2 {
  margin-bottom: 4rem;
  font-size: 1.25rem;
}

.blog-post-container {
  margin: 2rem 1rem 4rem 1rem;
}

.blog-post-hero {
  margin-bottom: 1rem;
}

.blog-post-image-creds {
  color: rgb(127, 112, 116);
  font-family: Futura-Boo, sans-serif;
  font-size: 1rem;
  margin: 0.5rem 0 0 0;
}

.icon-link {
  border-bottom: 2px solid transparent;
	color: #231f20;
	font-size: 1.125rem;
	font-family: Futura-Med, sans-serif;
}

.icon-link img {
  width: 6px;
	margin: 0rem 0rem 0rem 1rem;
	vertical-align: middle;
  display: inline-block;
}

.section-header {
	margin-top: 2px;
	margin-bottom: 1rem;
	padding: 1rem;
	background-color: rgba(0, 0, 0, 0.05);
}

.tag-section > div {
	margin-top: 2px;
	margin-bottom: 2rem;
	padding: 2rem 1rem;
	background-color: rgba(0, 0, 0, 0.05);
}

.blog-archive-header h2 {
  font-size: 1.5rem;
  margin: 1rem 0;
  line-height: 1;
}

.blog-archive-header > p {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 1.25rem;
  max-width: 34em;
}

.contact-details-date {
  display: flex;
}

.contact-details * {
  margin: 0;
  color: rgb(127, 112, 116);
  font-family: Futura-BooObl, sans-serif;
}

.contact-details a  {
  color: rgb(127, 112, 116);
  border-bottom: 1px solid rgb(127, 112, 116);
}

.contact-details a:hover {
  border-bottom: 1px solid transparent;
  transition: border-bottom .15s ease-in;
}

.post-list > * + * {
  margin-top: 3rem;
}

.post-article-container {
  pointer-events: none;
  position: relative;
}

.post-article-container > img {
  width: 100%;
  margin-bottom: 0.5rem;
}

.post-article-container h2 {
  margin: 0.5rem 0;
  font-family: Futura-Dem, sans-serif;
  line-height: 1.25;
}

.large-post-article {
  position: relative;
}

.post-article > a {
  border-bottom: 0;
}

.large-post-article:hover h2,
.post-article:hover h2 {
  text-decoration: underline;
}

.large-post-article > a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom: 0;
}

.large-post-article-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  position: relative;
}

.large-post-article-container > section {
  padding-top: 1rem;
}

.large-post-article-container p {
  margin-bottom: 0.5rem;
}

.large-post-header {
  font-size: 1.5rem;
  line-height: 1.25;
  max-width: 20em;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.post-article {
  position: relative;
}

.post-article > a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.tags-container {
  padding: 0 1rem;
  margin: 2rem 0;
}

.blog-tag-header p {
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0;
}


@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .post-article-container > section {
    max-width: calc(848px - 16rem);
  }
}

@media (min-width: 30em) {
  img + em, table + p em, img + em a, table + p a {
    font-size: 1.125rem;
  }

  .post-list > * + * {
    margin-top: 2rem;
  }

  .post-list-container {
    max-width: 848px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8rem;
  }

  .post-list-container > h2 {
    font-size: 1.5rem;
  }

  .tag-nav {
    padding: 1rem 0;
    font-size: 1.25rem;
  }

  .latest-posts {
    max-width: 848px;
    margin: 4rem auto;
  }


  .tag-nav a {
    margin-right: 2rem;
  }

  .tag-summary {
    left: calc(50% - 166px);
  }

  .tag-summary::after {
    padding-left: 18px;
    height: 12px;
  }

  .tag-list {
    display: block;
    columns: 14rem 3;
    list-style-type: none;
    margin: 1rem auto 0 auto;
    max-width: 848px;
  }

  .pagination {
    max-width: 848px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
  }

  .pill {
    font-size: 1.125rem;
  }

  .pill-lg {
    padding: 10px 1rem;
    color: rgb(93, 82, 84);
    background-color: rgba(0, 0, 0, 0.05);
    font-size: 1.25rem;
    font-weight: 400;
    font-family: Futura-Med, sans-serif;
    border-radius: 500px;
    display: inline-flex;
    -moz-box-align: center;
    align-items: center;
    line-height: 1;
  }

  .pill-lg > span {
    margin-right: 10px;
    width: 10px;
    background-color: white;
    border-radius: 50%;
    height: 10px;
  }

  .blog-archive-header > p {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 1.5rem;
  }

  .pill-xl {
    padding: 1rem;
    font-size: 2.25rem;
  }

  .pill-xl > span {
    margin-right: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
  }

  .icon-link {
    font-size: 1.25rem;
  }

  .icon-link span:hover {
    border-bottom: 2px solid #231f20;
  }

  .icon-link img {
    width: 12px;
  }

  .section-header,.tag-section > div {
    margin: 2px 0 4rem 0;
    padding: 2rem 1rem;
  }

  .blog-archive-header, .blog-tag-header {
    max-width: 848px;
    margin: 0 auto;
  }

  .blog-archive-header h2 {
    font-size: 2.25rem;
    margin: 2rem 0;
  }

  .blog-tag-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0;
    line-height: 1;
  }

  .blog-tag-header p {
    font-size: 1.5rem;
  }

  /* BLOG POST */
  .blog-post-container {
    max-width: 848px;
    margin: 2rem auto 4rem auto;
  }

  .markdown {
    margin-top: 2rem;
  }

  .blog-post-content {
    width: 27em;
    margin: 0 auto;
  }

  .blog-post-container h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .blog-post-hero {
    margin-bottom: 1.5rem;
  }

  .blog-post-image-creds {
    font-size: 1.125rem;
  }

  .post-article-container {
    display: flex;
    align-items: center;
  }

  .post-article-container h2 {
    font-size: 1.5rem;
  }

  .post-article-container > section {
    padding: 0 0 0 2rem;
  }

  .post-article-container > img {
    max-width: 16rem;
    margin-bottom: 0;
  }


  .large-post-header {
    font-size: 2.25rem;
    line-height: 1.25;
    max-width: 20em;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  .large-post-article-container {
    flex-direction: row;
  }

  .large-post-article-container > section {
    max-width: 424px;
    order: -1;
    padding: 0 2rem 0 0;
  }

  .large-post-article-container > img {
    max-width: 424px;
    width: 100%;
  }

  .tags-container {
    max-width: 848px;
    margin: 4rem auto;
    padding: 0;
  }

  .tag-not-found {
    max-width: 848px;
    margin: 4rem auto;
  }

  .tag-not-found > h2 {
    margin-bottom: 1rem;
  }

  .tag-not-found > p {
    max-width: 20em;
    margin-bottom: 3rem;
  }
}
