/* Lists */
.editor-styles-wrapper ul,
.editor-styles-wrapper ol,
article ul,
article ol {
  padding-left: 21px;
}

/* hr */
hr.wp-block-separator {
  border: none;
  border-bottom: 1px solid #ddd;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Tables */
body:not(.wp-admin) table,
.wp-block-table table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 23px;
  text-align: left;
}


body:not(.wp-admin) thead,
.wp-block-table thead {
  border-bottom: none;
}

body:not(.wp-admin) table tr th,
.wp-block-table table tr th {
  border-top: 0;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  padding: 5px;
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
  line-height: 1.4375;
}

body:not(.wp-admin) table tbody tr td,
.wp-block-table table tbody tr td {
  border: 1px solid #ddd;
  padding: 5px;
  line-height: 1.4375;
  vertical-align: top;
}

/* Latest posts */
.wp-block-latest-posts {
  max-width: 850px;
  margin: 20px 0;
}

.read-more--hidden .wp-block-latest-posts__post-excerpt a {
  display: none;
}

.wp-block-latest-posts li {
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.wp-block-latest-posts li > a {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 5px;
}
.wp-block-latest-posts .wp-block-latest-posts__post-author,
.wp-block-latest-posts .wp-block-latest-posts__post-date {
  display: inline-block;
  font-size: 1em;
}

.wp-block-latest-posts .wp-block-latest-posts__post-author {
  margin-right: 10px;
}

.wp-block-latest-posts .wp-block-latest-posts__post-author::after {
  content: "|";
  margin-left: 10px;
}

.wp-block-latest-posts .wp-block-latest-posts__post-excerpt {
  margin: 10px 0 20px 0;
}

/* has-background divs: usually people use these as little panels */
.has-background {
  padding: 11.5px 11.5px 6.25px 11.5px; /* 11.25 is the bottom margin of our paragraphs */
  border-radius: 2px;
}

/* Details */
/* Remove bottom margin on open details elements and open alerts */
section[class^="wp-block"] details[open],
details[class^="wp-block"][open] {
  padding-bottom: 0;
}

/* Alerts */
.wp-block-cds-snc-alert details.alert {
  /* Fix weird border glitch on closed alerts */
  border-image: none;
  margin-left: 0;
}

/* Align the alert icon with the title */
.wp-block-cds-snc-alert details.alert:before,
.wp-block-cds-snc-alert details.alert[open]:before {
  padding: 0;
  margin: 0;
  padding-top: 15px;
  margin-left: -1.3em;
  top: unset;
  line-height: unset;
}

/* Standardize button padding */
.wp-block-button > .wp-block-button__link:not(.has-background),
.wp-block-button > .wp-block-button__link.has-background {
  padding: 12px 20px;
}
