.dhol-container,
.wp-block-group.alignwide,
.alignwide {
  width: min(100% - 2rem, var(--dhol-content-width-wide));
  margin-inline: auto;
}

.entry-content > *,
.entry-summary > *,
.comment-content > *,
.wp-block-post-content > * {
  width: min(100% - 2rem, var(--dhol-content-width));
  margin-inline: auto;
}

.entry-content > .alignwide,
.entry-summary > .alignwide,
.wp-block-post-content > .alignwide {
  width: min(100% - 2rem, var(--dhol-content-width-wide));
}

.entry-content > .alignfull,
.entry-summary > .alignfull,
.wp-block-post-content > .alignfull {
  width: 100%;
}

.dhol-page-shell {
  padding: 2rem 0 3.5rem;
}

.dhol-content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.dhol-content-shell.has-sidebar {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.dhol-content-primary {
  min-width: 0;
}

.dhol-page-header {
  margin-bottom: 1.5rem;
}

.dhol-empty-state,
.widget,
.search-form,
.comments-area,
.dhol-card,
.dhol-single-article,
.dhol-page-article {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--dhol-global-radius);
  background: #fff;
}

.dhol-single-article,
.dhol-page-article {
  overflow: hidden;
}

.dhol-empty-state {
  padding: 2rem;
}

.widget {
  padding: 1.25rem;
}

.widget + .widget {
  margin-top: 1.25rem;
}

.widget-title {
  margin-bottom: .9rem;
  font-size: 1.05rem;
}

.dhol-sidebar {
  align-self: start;
  position: sticky;
  top: 110px;
}

.dhol-comments,
.search-form {
  padding: 1.25rem;
}

.dhol-search-form {
  display: flex;
  gap: .75rem;
}

.dhol-search-form label {
  flex: 1;
}

.archive-description {
  color: var(--dhol-color-text-muted);
  max-width: 70ch;
}

@media (max-width: 960px) {
  .dhol-content-shell.has-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .dhol-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .dhol-page-shell {
    padding-top: 1.25rem;
  }

  .dhol-search-form {
    flex-direction: column;
  }
}
