body {
  background: #000;
}

body:not(.home) #content {
  padding-top: 0;
}

#hero {
  height: 434px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero .container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero .title {
  text-align: center;
  color: #fff;
  font-size: 57px;
  font-family: 'Noto Serif', serif;
  padding-bottom: 47px;
}

#posts {
  margin: 100px 0;
}

#posts .container {
  max-width: 1500px !important;
}

#posts .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 85px 71px;
}

#posts a {
  position: relative;
  width: calc(50% - 36px);
  text-decoration: none;
  background: linear-gradient(180deg, #2D2D2D 63%, #0E0E0E 100%);
}

#posts a > * {
  position: relative;
  z-index: 3;
}

#posts a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  background: linear-gradient(180deg, #6F6F6F 63%, #0E0E0E 100%);
  transition: 0.2s;
  z-index: 1;
}

#posts a:hover::before {
  opacity: 1;
}

#posts a:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  border: 1px solid #CEAF73;
  z-index: 3;
}

#posts a:hover:after {
  top: 13px;
  left: 12px;
  bottom: 15px;
  right: 12px;
  opacity: 1;
}

#posts .date {
  position: absolute;
  top: 23px;
  left: 30px;
  height: 3em;
  line-height: 3em;
  padding: 0 1.2em;
  font-size: 15px;
  font-family: 'Noto Serif', serif;
  letter-spacing: 0.25em;
  color: #000;
  background-color: #EBC883;
  z-index: 9;
}

#posts .image {
  height: 492px;
}

#posts .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#posts a span {
  min-height: 7.077em;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: 0.2s;
  font-size: 26px;
  font-weight: 600;
  font-family: 'Noto Serif', serif;
  padding: 0 30px;
}

#posts a:hover span {
  color: #EBC883;
}

.loadmore.button {
  display: block !important;
  width: fit-content;
  margin: 0px auto 50px auto;
  height: 44px;
  line-height: 44px;
  background: transparent;
  border: 1px solid #fff;
  font-size: 15px;
  font-family: 'Noto Serif', serif;
  text-transform: uppercase;
  padding: 0 17px !important;
  text-decoration: none !important;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.25em;
  transition: 0.2s;
}
.loadmore.button:hover {
  background-color: #EBC883;
  border-color: #EBC883;
  color: #fff;
}

.loadmore.button.loading {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

@media screen and (max-width: 1200px ) {
  #posts .inner {
    gap: 40px;
  }

  #posts a {
    width: calc(50% - 20px);
  }
}

@media screen and (max-width: 992px ) {
  #posts {
    margin: 50px 0;
  }

  #posts .image {
    height: 31vw;
  }

  #posts a span {
    padding-bottom: 10px;
    font-size: 22px;
  }
}

@media screen and (max-width: 768px ) {
  #hero {
    height: 94px;
  }

  #hero .title {
    font-size: 21px;
    padding-bottom: 0;
  }

  #posts a {
    width: 100%;
  }

  #posts .date {
    font-size: 12px;
    top: 10px;
    left: 10px;
  }

  #posts .image {
    height: 250px;
  }
}

@media screen and (max-width: 567px ) {
  #posts a span {
    font-size: 20px;
  }
}