/* # HARB Shortcodes Plugin CSS
 * Extracted from theme main.css — scoped to classes actually output by this plugin
 * (HARB_Post_Output, RSS feed, terms cloud, list pages).
 * @since 2.5.0
 * ---------------------------------------------------------------------------- */

/* Common
--------------------------------------------- */
.harb .entry-header,
.harb .entry-content,
.harb .read-more {
  margin: 10px 0;
}

.entry-meta {
  margin: 0;
}

@media only screen and (max-width: 768px) {
  .entry-meta {
    font-size: 85%;
  }
}

/* Shared post-image base rule
--------------------------------------------- */
.post-image {
  line-height: 0;
}

/* Featured Posts
--------------------------------------------- */
.harb-featured-post {
  align-items: stretch;
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 20px;
  margin-left: -20px;
}

.harb-featured-post-item {
  flex: 1 1 50%;
  margin-bottom: 40px;
  padding-left: 20px;
}

@media only screen and (max-width: 768px) {
  .harb-featured-post-item {
    flex: 1 1 100%;
  }
}
.harb-featured-post .post-image {
  overflow: hidden;
  line-height: 0;
}

.sidebar .harb-featured-post {
  margin-left: 0;
}
.sidebar .harb-featured-post-item {
  flex: 1 1 100%;
  padding-left: 0;
}

/* Related Posts
--------------------------------------------- */
.harb-related-posts .harb-related-posts-item {
  display: flex;
  flex-flow: row wrap;
}

.harb-related-posts .harb-related-posts-item .entry-header {
  flex: 1 1 auto;
}

.harb-related-posts .harb-related-posts-item .post-image {
  flex: 0 0 auto;
  text-align: left;
  line-height: 0;
  margin-right: 20px;
}

.single .harb-related-posts .harb-related-posts-item .post-image {
  margin-bottom: 20px;
}

.harb-related-posts .entry-meta {
  margin: 0;
}

/* Posts
--------------------------------------------- */
.harb-posts {
  margin-bottom: 20px;
}

/* Blog Grid Posts
--------------------------------------------- */
.blog-grid-posts {
  align-items: stretch;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin-left: -20px;
}

.blog-grid-posts-item {
  flex: 1 1 33.33%;
  margin-bottom: 40px;
  min-width: 0;
  padding-left: 20px;
}

@media only screen and (max-width: 768px) {
  .blog-grid-posts-item {
    flex: 1 1 100%;
  }
}
.blog-grid-posts .post-image {
  line-height: 0;
  overflow: hidden;
}

.blog-grid-posts .blog-grid-posts-item a img {
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
  width: 100%;
}

.blog-grid-posts .blog-grid-posts-item a:hover img {
  opacity: 0.9;
  transform: scale(1.05);
}

.blog-grid-posts .entry-content-wrap {
  padding: 10px;
}

.blog-grid-posts .entry-meta {
  margin: 0;
}

/* Terms Cloud
--------------------------------------------- */
.terms-cloud {
  display: inline-block;
  overflow-wrap: break-word;
}

.terms-cloud-5 {
  display: inline-block;
  font-size: 14px;
  padding: 4px;
}

.terms-cloud-10 {
  display: inline-block;
  font-size: 18px;
  padding: 4px;
}

.terms-cloud-15 {
  display: inline-block;
  font-size: 22px;
  padding: 4px;
}

.terms-cloud-20 {
  display: inline-block;
  font-size: 26px;
  padding: 4px;
}

.terms-cloud-25 {
  display: inline-block;
  font-size: 30px;
  padding: 4px;
}

/* List Pages
--------------------------------------------- */
.harb-list-pages {
  margin-bottom: 20px;
}

.harb-list-pages li {
  list-style: none;
}

/* RSS Feed
--------------------------------------------- */
.harb-rss-feed-item {
  margin-bottom: 10px;
}

.harb-rss-feed-title {
  font-weight: 600;
}

.harb-rss-feed-title > a:visited {
  color: #222;
}

.harb-rss-feed-meta {
  color: #595959;
  font-size: 75%;
  line-height: 1.5;
  opacity: 0.7;
  text-transform: uppercase;
}

span.harb-rss-feed-date,
span.harb-rss-feed-source {
	margin: 0 0.5em 0 0;
}

.harb-rss-feed-source > a {
  color: #222;
}

.harb-rss-feed-error {
  background-color: #f8d7da;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  color: #721c24;
  margin-bottom: 1rem;
  padding: 0.75rem 1.25rem;
  position: relative;
}

/* Image hover zoom (applies to all plugin-generated .post-image elements)
--------------------------------------------- */
.archive .post-image,
.blog .post-image,
.single .post-image,
.page .post-image {
  overflow: hidden;
}

.archive .post-image a img,
.blog .post-image a img,
.single .post-image a img,
.page .post-image a img {
  transition: all 0.3s ease-in-out;
}

.archive .post-image a:hover img,
.blog .post-image a:hover img,
.single .post-image a:hover img,
.page .post-image a:hover img {
  opacity: 0.9;
  transform: scale(1.05);
}
