/**
 * Blog layout
 */

.site-main {
  padding-top: 0;
  padding-bottom: 0;
}

.site-main .container {
  margin-bottom: 30px;
}

.site-main .section-header {
  font-size: 1.5rem;
  margin: 0 0 10px 0;
}

.site-main > .container > .content-sidebar {
  line-height: 1.25;
}

.site-main > .container > .content-sidebar .widget .widget-title {
  font-size: 1.25em;
  margin: 0 0 15px 0;
}

.site-main > .container > .content-sidebar .widget ul li {
  margin: 0 0 10px 0;
}

@media (min-width: 992px)
{
  .site-main > .container {
    display: flex;
    flex-direction: row;
  }

  .site-main > .container > .content-main {
    flex: 1;
  }

  .site-main > .container > .content-sidebar {
    flex: 0 0 300px;
    margin-left: 30px;
  }
}

/**
 * Blog introduction
 */

.blog-introduction {
  position: relative;
  height: 240px;
  max-height: 320px;
  margin-bottom: 15px;
}

.blog-introduction img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-introduction:after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(0, 0, 0, .5);
  z-index: 1;
}

.blog-introduction .container-wrapper {
  display: flex;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2;
}

.blog-introduction .container {
  margin-top: auto;
  margin-bottom: auto;
  color: #ffffff;
  text-align: center;
}

.blog-introduction .container a {
  color: inherit;
}

.blog-introduction .container .breadcrumbs {
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.blog-introduction .container h1 {
  margin: 0;
  padding: 0;
  font-size: 2rem;
}

@media (min-width: 768px) {
  .blog-introduction {
    margin-bottom: 30px;
  }
}

/**
 * Blog entries
 */

.post-excerpt {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, .1);
  margin-bottom: 30px;
  transition: background-color .3s, transform .3s;
}

.post-excerpt:is(:hover, :focus) {
  background-color: rgba(0, 0, 0, .025);
  transform: translateY(-2px);
}

.post-excerpt::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  opacity: 0;
  transition: opacity .3s;
}

.post-excerpt:is(:hover, :focus)::before {
  opacity: 1;
}

.post-excerpt:last-child {
  margin-bottom: 0;
}

.post-excerpt .column-image {
  margin-bottom: 15px;
  text-align: center;
}

.post-excerpt .column-image img {
  width: 100%;
  height: 100%;
  max-height: 160px;
  object-fit: contain;
}

.post-excerpt .column-image.thumb-not-present {
  padding: 0 30px;
}

.post-excerpt .entry-header a {
  display: block;
  margin: 0 0 5px 0;
  text-decoration: none;
}

.post-excerpt .entry-header a::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.post-excerpt .entry-header a .page-title {
  color: var(--color-accent);
  font-size: 1.3em;
  font-weight: 500;
  text-wrap: balance;
  line-height: 1.3;
  margin: 0;
}

.post-excerpt .entry-content {
  font-size: 1rem;
}

@media (min-width: 992px)
{
  .post-excerpt {
    flex-direction: row;
  }

  .post-excerpt .column-image {
    margin-bottom: 0;
    margin-right: 15px;
    flex: 0 0 160px;
  }

  .post-excerpt .column-image.thumb-not-present {
    margin-right: 0;
  }

  .post-excerpt .column-excerpt {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/**
 * Blog single
 */

.single .entry-content {
  font-size: 1rem;
}

.single .entry-content a {
  font-weight: 600;
  text-decoration: none;
  transition: background-color .3s, color .3s;
}

.single .entry-content a:hover,
.single .entry-content a:focus {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.single .entry-content p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.single .entry-content h2 {
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 30px 0 15px 0;
}

.single .entry-content h3 {
  font-size: 1.3rem;
  margin: 30px 0 15px 0;
}

.single .entry-content ol li,
.single .entry-content ul li {
  margin: 15px 0;
}

.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
  position: relative;
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: 0 0 8px rgba(0, 0, 0, .05);
}

.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
  background-image: none;
  background-color: rgba(0, 0, 0, .25);
  padding: 10px;
}

.wp-block-gallery .blocks-gallery-image figcaption a,
.wp-block-gallery .blocks-gallery-item figcaption a {
  position: relative;
  display: block;
  color: #ffffff;
  transition: background-color .3s;
  cursor: pointer;
}

.wp-block-gallery .blocks-gallery-image figcaption a:before,
.wp-block-gallery .blocks-gallery-item figcaption a:before {
  content: '';
  display: block;
  position: absolute;
  top: -10px; right: -10px; bottom: -10px; left: -10px;
  border: 10px solid var(--color-accent);
  opacity: 0;
  transition: opacity .3s;
}

.wp-block-gallery .blocks-gallery-image figcaption a:hover,
.wp-block-gallery .blocks-gallery-image figcaption a:focus,
.wp-block-gallery .blocks-gallery-item figcaption a:hover,
.wp-block-gallery .blocks-gallery-item figcaption a:focus {
  background-color: var(--color-accent);
}

.wp-block-gallery .blocks-gallery-image figcaption a:hover:before,
.wp-block-gallery .blocks-gallery-image figcaption a:focus:before,
.wp-block-gallery .blocks-gallery-item figcaption a:hover:before,
.wp-block-gallery .blocks-gallery-item figcaption a:focus:before {
  opacity: 1;
}

@media (max-width: 767.98px)
{
  .wp-block-gallery .blocks-gallery-image,
  .wp-block-gallery .blocks-gallery-item {
    width: 100%;
    margin: 0 0 15px 0;
  }
}

@media (min-width: 992px) and (max-width: 1365.98px)
{
  .single .posts-tiles .posts .post .post-info .text {
    font-size: 0.8rem;
  } 
}

/**
 * Blog comments
 */

.comments {
  font-size: 0.9rem;
  margin: 45px 0;
}

.comments .commentlist {
  list-style-type: none;
  padding: 0;
  margin: 15px 0 30px 30px;
}

.comments .comment {
  margin: 30px 0;
}

.comments .comment::marker {
  font-size: 0;
}

.comments .comment-body .comment-author {
  font-size: 1rem;
  line-height: 1;
  margin: 0 0 10px 0;
}

.comments .comment-body .comment-author .fn,
.comments .comment-body .comment-author .says {
  vertical-align: middle;
}

.comments .comment-body .comment-author .fn {
  font-weight: 600;
}

.comments .comment-body .comment-metadata {
  font-size: 0.8rem;
  line-height: 1;
  margin: 10px 0;
}

.comments .comment-body .comment-metadata a {
  color: #666;
}

.comments .comment-body .comment-metadata .edit-link {
  margin: 0;
}

.comments .comment-body p {
  margin: 10px 0;
  line-height: 1.25;
}

.comments .comment-body .reply {
  margin: 15px 0 0 0;
}

.comments .comment-body .reply .comment-reply-link {
  border: none;
  background-color: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
  padding: 0.3em 0.9em;
}

.comment-respond {
  margin: 45px 0 0 0;
}

.comment-form .comment-form-comment {
  margin: 15px 0 10px 0;
}

.comment-form .comment-form-comment label {
  display: block;
  font-size: 1.2rem;
}

.comment-form .comment-form-comment textarea {
  display: block;
  width: 100%;
  padding: 15px;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.comment-form .comment-form-author label,
.comment-form .comment-form-email label,
.comment-form .comment-form-url label {
  margin: 0;
  width: 160px;
}

.comment-form .comment-form-author input,
.comment-form .comment-form-email input,
.comment-form .comment-form-url input {
  padding: 5px 10px;
  flex-grow: 1;
}

.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: center;
}

.comment-form .comment-form-cookies-consent label {
  margin: 0;
  padding: 5px 5px 5px 10px;
  flex-grow: 1;
}

.comment-form .form-submit .submit {
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 1rem;
  text-decoration: none;
}

/**
 * Blog similar posts
 */

.similar-posts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.similar-posts .item-post {
  width: 50%;
}

/**
 * Blog pagination
 */

.pagination {
  font-size: 0;
  text-align: center;
  margin: 30px 0;
}

.pagination a,
.pagination .dots,
.pagination .current {
  display: inline-block;
  font-size: 1rem;
  margin-right: 1em;
}

.pagination a:last-child {
  margin-right: 0;
}

/**
 * Blog sidebar
 */

.sidebar-blog {
  font-size: 1rem;
}

.sidebar-blog ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidebar-blog .widget {
  margin-bottom: 30px;
}

.sidebar-blog .widget .widget-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.sidebar-blog .widget > ul > li {
  margin-bottom: 5px;
}

.sidebar-blog .widget_recent_comments .recentcomments {
  margin-bottom: 5px;
}

.sidebar-blog .widget_recent_comments .recentcomments a {
  display: block !important;
}