body {
  background-color: #212121; 
  grid-template-columns: 1fr min(60rem,90%) 1fr;
}

p {
  font-size: 1rem;
}

ul.post-list {
  list-style-type: none;
  padding-inline-start: 0.2rem;
}

ul.post-list li {
  margin: 1.5rem 0;
}

a.post-list-link {
  color: #dcdcdc;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
}

a.post-list-link:hover {
  text-decoration: underline;
}

span.post-link-subtitle {
  font-weight: 500;
  font-size: 0.8rem;
  color: #ababab;
}

.post-list-link p {
  margin: 0;
}

a.magazine-item {
  color: #dcdcdc;
  text-decoration: none;
}

.magazine-item {
  background-color: #363636;
  border-radius: 16px;
  margin: 0.5rem;
  flex-grow: 1;
  /* min-width: 15rem; */
  min-height: 10rem;
  color: #dcdcdc;
  box-shadow: 0px 24px 38px 3px rgb(0 0 0 / 14%),
    0px 9px 46px 8px rgb(0 0 0 / 12%), 0px 11px 15px -7px rgb(0 0 0 / 20%);
}

a.magazine-item {
  cursor: pointer;
}

a.magazine-item.link:hover {
  background-color: #464646;
  transform: scale(0.95);
  transition: all 0.2s;
}

.magazine-item.text {
  padding: 1rem;
}

.magazine {
  display: flex;
  flex-direction: column;
}

.magazine-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.magazine-60 {
  flex-basis: 60%;
}

p.magazine-subtitle {
  /* font-size: 2rem; */
  font-weight: 600;
}

p.magazine-title {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.featured-post img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.featured-post p {
  margin: 0;
}

.featured-post {
  height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  z-index: 2;
  /* padding: 0.5rem; */
}

.featured-post-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.featured-post-content {
  padding: 1rem;
  z-index: 3;
  color: #dcdcdc;
}

.featured-post-content p.title {
  font-size: 2rem;
  font-weight: 700;
}

.featured-post:hover .featured-post-image {
  transform: scale(1.08);
  border-radius: 16px;
  transition: all 0.5s;
}

.now-now-now:hover #now-now-now-gradient-start {
  stop-color: #3e45eb;
  transition: all 1s;
}
.now-now-now:hover #now-now-now-gradient-stop {
  stop-color: #e91f1f;
}

.featurecat-diaries-item {
  flex-basis: 30%;
  background: linear-gradient(135deg, #7f3ab6, #4c45bd);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

input.email-form {
  color: #dcdcdc;
  background: #212121;
  border: 1px solid #666;
  width: 100%;
}

input.email-form:focus {
  border-color: #0d47a1;
  /* background-color: red; */
}

footer {
  border-top: none !important;
}

footer a {
  color: #585858 !important;
}

@media (prefers-color-scheme: dark) {
  a.magazine-item {
    color: #dcdcdc;
  }

  footer a {
    color: #ababab !important;
  }
}
