/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.post-image {
  margin: 0;
}

.archive_title img {
  display: none;
}

.post-image a img {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  display: block;
}

.elementor-section-wrap section:first-child {
  display: none;
}

.avatar {
  border-radius: 50%;
}

.sidebar_block_mobile {
  display: flex;
}

.archive_cols {
  width: 23%;
  display: inline-block;
  vertical-align: top;
  padding-bottom: 35px;
}

.custom-banner {
  width: 100%;
  display: flex;
  justify-content: center;
}

.menu-logo {
  padding: 5px;
}

.site-content {
  justify-content: center;
}

.inside-article {
  padding: 20px 0 !important;
}

.single-post-content {
  width: 65%;
}

.single-post-sidebar {
  width: 35%;
}

.custom_carousel {
  margin: 35px 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.slide .row img {
  width: 100vw;
  height: 498px;
}

.slide_text {
  width: 500px;
  position: absolute;
  top: 50px;
  left: 30px;
  padding: 20px;
  background: black;
  opacity: 0.7;
}

.carousel-bullets {
  margin: -10px 0;
}

.slide_perma {
  text-decoration: none;
  color: white;
}

.slide_text p a {
  text-decoration: none;
  color: white;
}

.slide_text:hover p a {
  text-decoration: none;
  color: white;
}

.slide_text h1 {
  color: white;
}

.slide_text:hover {
  text-decoration: underline;
}

/* authorBioSection */
.author-bio {
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  background-color: #fafafa;
  margin-top: 2em;
  margin-bottom: 3em;
  padding: 1em 1em 2.5em 1em;
}

.author-flex-container {
  display: inline-flex;
}

.author-avatar {
  padding-right: 15px;
  /* Ensure the avatar doesn't get squished or stretched */
  flex-shrink: 0; /* Prevents shrinking */
}

.author-info h3,
.author-info a {
  /* Styling for the author info, if needed */
}

.author-description {
  padding-left: 15px;
}

@media only screen and (max-width: 1025px) {
  .sidebar_block_mobile {
    display: block;
  }

  .archive_cols {
    width: 100%;
  }

  .single-post-content {
    width: 100%;
  }

  .single-post-sidebar {
    width: 100%;
  }

  .custom_carousel {
    width: 100vw;
    height: 275px !important;
  }

  .slide .row img {
    width: 100vw;
    height: 100%;
  }

  .slide_text {
    width: 250px;
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px;
    background: black;
    opacity: 0.7;
  }

  .slide_text h1 {
    font-size: 24px;
  }

  .slide_text p {
    font-size: 16px;
  }
}

.swiper-slide-contents {
  background: rgb(0, 0, 0, 0.5);
  padding: 20px;
}

.elementor-slide-heading:hover {
  text-decoration: underline;
}

.tag {
  display: block;
}
