/*
 * WordPress's post card: the embed template's stylesheet (`wp-embed-template.min.css`, inline in
 * every `/embed/` page WordPress serves), scoped to `.wp-embed-card`, the paragraph that held the
 * card's iframe. The card is spans inside that paragraph (apps/web/src/lib/post-card.ts), so each
 * block WordPress styles is a `display: block` span here, and what the theme sets on an article's
 * text is reset where it would reach in. The share button's and dialog's rules are left out: the
 * card prints neither.
 */

/* The iframe: 500 px wide whatever the column, on the paragraph's baseline. */
.wp-embed-card .wp-embed {
  display: inline-block;
  box-sizing: border-box;
  width: 500px;
  padding: 25px;
  overflow: auto;
  vertical-align: baseline;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  color: #646970;
  background: #fff;
  border: 1px solid #dcdcde;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.wp-embed-card .wp-embed a {
  color: #646970;
  text-decoration: none;
}

.wp-embed-card .wp-embed a:hover {
  text-decoration: underline;
}

.wp-embed-card .wp-embed-heading {
  display: block;
  margin: 0 0 15px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.wp-embed-card .wp-embed-heading a {
  color: #2c3338;
}

.wp-embed-card .wp-embed-excerpt,
.wp-embed-card .wp-embed-text {
  display: block;
  margin: 0;
}

.wp-embed-card .wp-embed .wp-embed-more {
  color: #2271b1;
  text-decoration: underline;
}

.wp-embed-card .wp-embed-footer {
  display: table;
  width: 100%;
  margin-top: 30px;
}

.wp-embed-card .wp-embed-site-title {
  display: table-cell;
  font-weight: 600;
  line-height: 1.78571428;
}

.wp-embed-card .wp-embed-site-title a {
  position: relative;
  display: inline-block;
  padding-left: 35px;
}

.wp-embed-card .wp-embed-site-icon {
  position: absolute;
  top: 50%;
  left: 0;
  display: inline;
  width: 25px;
  max-width: none;
  height: 25px;
  border: 0;
  transform: translateY(-50%);
}

.wp-embed-card .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  word-wrap: normal;
  word-break: normal;
}
