.evo-news-admin {
  display: grid;
  grid-template-areas: "content" "sidebar";
  grid-template-columns: 1fr;
  gap: 16px;
}

@media(min-width: 768px) {
  .evo-news-admin {
    grid-template-areas:  "content sidebar";
    grid-template-columns: 65% auto;
  }
}

@media(min-width: 992px) {
  .evo-news-admin {
    grid-template-columns: 75% auto;
  }
}

.evo-news-admin .news-interface:nth-child(1) {
  grid-area: content;
}

.evo-news-admin .news-interface:nth-child(2) {
  grid-area: sidebar;
}

/**
 * News Interface Wrap
 */
.news-interface-post-new-story {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/**
 * News Interface
 */
.news-interface-input label {
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.news-interface-input [type="submit"] {
  width: 100%;
}

.news-interface-input .story-content {
  min-height: 400px;
}

.news-interface-input .story-content.medium {
  min-height: 120px;
}

.news-interface-input input[type="checkbox"],
.news-interface-input input[type="radio"] {
  border-radius: 2px;
  cursor: pointer;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: 0 4px 0 0;
  padding: 6px 8px;
  vertical-align: top;
}


/**
 * Category Listings
 */
.categories-listings {
  max-height: 13em;
  overflow: auto;
}

.categories-listings .news-interface-input {
  margin-bottom: 6px;
}

/**
 * Components | Buttons
 */
.components-button {
  align-items: center;
  -webkit-appearance: none;
          appearance: none;
  background: none;
  border: 0;
  border-radius: 2px;
  box-sizing: border-box;
  color: #1e1e1e;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-weight: 600;
  height: 36px;
  margin: 0;
  padding: 6px 12px;
  text-decoration: none;
  transition: box-shadow .1s linear;
}

.components-button.is-link {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #3858e9;
  height: auto;
  margin: 0;
  outline: none;
  padding: 0;
  text-align: left;
  text-decoration: underline;
}

/**
 * Featured Image
 */
.editor-post-featured-image {
  position: relative;
}

.editor-post-featured-image .components-flex {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 8px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;

  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.editor-post-featured-image .components-flex .components-button {
  flex-grow: 1;
  backdrop-filter: blur(16px) saturate(180%);
  background: #ffffffbf;
  justify-content: center;
}

.editor-post-featured-image:hover .components-flex {
  opacity: 1;
}




.editor-post-featured-image__preview,
.editor-post-featured-image__toggle {
  display: flex;
  justify-content: center;
  max-height: 150px;
  overflow: hidden;
  padding: 0;
  transition: all .1s ease-out;
  width: 100%;
  box-shadow: none;
}

.editor-post-featured-image__toggle {
  background-color: #f0f0f0;
  border-radius: 2px;
  line-height: 20px;
  min-height: 90px;
  padding: 8px 0;
  text-align: center;
}

.editor-post-featured-image__preview {
  height: auto;
}

.editor-post-featured-image__preview img {
  display: block;
  max-width: 100%;
  width: 100%;
  border: 1px solid #353434;
}



.evo-blog-wrapper {
  display: grid;
  gap: 10px;
}



/**
 * Forms Modification
 */
.form-label + button {
  margin-top: .5rem;
}

/**
 * Admin Navigation
 */
.evo-news-admin-navigation {
  text-align: center;
}

.evo-news-admin-navigation > div:nth-child(1) {
  margin-bottom: 15px;
}

/**
 * evo_news_published_stories()
 */
.evo-news-stories-heading,
.evo-news-story {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 150px 1fr;
}

.evo-news-stories-heading > div {
  text-transform: uppercase;
}

.evo-news-stories-list {
  margin-top: 20px;
}
.evo-news-stories-list .evo-news-story {
  padding: 10px;
}






/**
 * Frontend
 */
.evo-blog-article-loop {
  display: grid;
  grid-template-columns: 100%;
  gap: var(--evo-blog-element-gap, 1rem);
}

.blog-details .content img {
  margin-top: 20px;
}

.blog-details .content .post-title {
  font-size: 28px;
  margin-top: 5px;
}

.blog-details .post-meta .post-author {
  margin-right: 10px;
}

.blog-details .post-meta .post-date svg {
  margin-right: 5px;
}

.blog-details .content p {
  margin-top: 20px;
}

.post-content {
  margin-top: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
          line-clamp: 5;
  -webkit-box-orient: vertical;
          box-orient: vertical;
  overflow: hidden;
}


.evo-blog-pagination-links {
  display: flex;
  gap: 10px;
  justify-content: end;
  padding: 0 20px;
}
