body, html {
  height: 100%;
  background-color: #f5f5f5;
}
/* Hero Section */
.hero {
  background-image: url(//9053923.fs1.hubspotusercontent-na1.net/hubfs/9053923/raw_assets/public/konecranes/images/konecranes_toppbild_blog.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 40vh;
  display: flex;
  justify-content: left;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content {
  padding: 0 50px;
}

.hero h2 {
  font-size: 76px;
  font-weight:600;
  color: white;
  text-align:left;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero h2 {
      font-size: 2rem;
  }
}

.content-area {
  width: 100%;
  max-width: 1024px;
  margin: auto;
  padding: 0 12px;
}

.filter {
  position: relative;
  text-align: left;
  margin-top: 24px;
}
.filter button {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  column-gap: 0.375rem;
  border-radius:25px;
  background: linear-gradient(to right, #6900EC, #B40F70), #6900EC;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  font-weight: 300;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  box-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  --tw-ring-inset: inset;
  --tw-ring-color: rgb(225 225 225);
}
.filter .dropdown {
  position: absolute;
  display: none;
  right; 0; 
  z-index: 10; 
  margin-top: 0.5rem; 
  width: 14rem;
  transform-origin: right;
  border-radius: 8px;
  background-color: #ffffff;
  filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
  box-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
}
.filter .dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  color: #333333;
  text-decoration: none;
}
.filter button:hover, .filter button:active, .filter button:visited, .filter button:target, .filter button:focus {
  border-radius:25px;
  border: none;
}
.filter button svg {
  width: 18px;
  margin-left: 12px;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 18px;
  row-gap: 60px;
  padding-top:24px;
}
.blog-content{
  padding-top:24px;
}
@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
        margin: 0 auto;
        padding-top:24px;
    }
    .blog-content {
        padding: 0 20px;
        margin: 0 auto;
        padding-top:24px;
    }
}
@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1024px;
        padding: 0;
        padding-top:24px;
        margin: 0 auto;
    }
    .blog-content {
        max-width: 960px;
        padding: 0 20px;
        padding-top:24px;
        margin: 0 auto;
    }
  .blog-pagination{
    max-width: 960px;
    padding: 24px 20px;
  }
}
.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius:8px;
  overflow: hidden;
  background-color: #fff;
}

.image-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    flex-grow: 1;
}
.content h2 {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #333;
}
.content .description {
  font-size: 12px;
  font-weight:400;
  margin-bottom: 4px;
  color: #000;
}
.content .bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  cursor: pointer;
}
.content .read-time {
  font-size: 12px;
  font-weight: 300;
  margin: 0;
  padding-bottom: 2px;
  color: #000000;
}
.content .read-more {
}
.content .read-more img {
  width: 24px;
  color: #6900EC;
}
.content .read-more a {
    text-decoration: none;
    color: #6900EC;
    font-weight: 600;
    font-size: 12px;
}
.content .read-more a:hover {
  color: #A566F4;
}

.subscribe-blog-panel {
  background-color: #ffffff;
  margin: 16px;
}
.post-hero-image img{
  margin-top: 48px;
  width: 100%;
  border-radius:24px;
}

/* Pagination */
.blog-pagination {
  max-width: 1024px;
  display:block;
  margin: auto;
  text-align: center;
}
.blog-pagination__link {
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 16px;
  padding: 0 16px;
  font-weight: 400;
  color: #333333;
  text-decoration: none;
}
.blog-pagination__link:hover {
  text-decoration: none;
}
.blog-pagination__number-link {
  color: #333333;
}
.blog-pagination__number-link.blog-pagination__link--active {
  color: #666666;
}
a.blog-pagination__number-link:hover {
  color: #000000;
}

.related-articles {
  margin-bottom: 24px;
}
.blog-post__body a.hs-button  {
  margin-bottom: 0;
  display: inline-flex;
  justify-content: center;
  padding: 10px 20px;
  background: linear-gradient(to right, #6900EC, #B40F70), #6900EC;
  color: #ffffff;
  font-size: 14px;
  font-weight: 300;
  border: none;
  border-radius: 18px;
}
.blog-post__body a.hs-button:hover, .blog-post__body a.hs-button:active, .blog-post__body a.hs-button:visited, .blog-post__body a.hs-button:target, .blog-post__body a.hs-button:focus {
  border-radius:18px;
  border: none;
}
div.blog-post__links span {
  display: inline-block;
  width: 24px;
  margin-right: 8px;
}
div.blog-post__links a {
  text-decoration: none;
  color: #333;
  font-size: 21px;
}

/* BOILERPLATE BELOW */
/* Blog post */

.blog-post {
  margin: 0 auto;
  max-width: 960px;
}

.blog-post__meta {
  margin-bottom: 1.4rem;
}

.blog-post__meta a {
  text-decoration: underline;
}

.blog-post__timestamp {
  display: block;
}

.blog-post__tags svg {
  height: auto;
  margin-right: 0.35rem;
  width: 15px;
}

.blog-post__tag-link {
  font-size: 0.875rem;
}

/* Blog related posts */

.blog-related-posts {
  background-color: #F8FAFC;
}

.blog-related-posts h2 {
  text-align: center;
}

.blog-related-posts__list {
  display: flex;
  flex-wrap: wrap;
}

.blog-related-posts__post {
  flex: 0 0 100%;
  padding: 1rem;
}

@media screen and (min-width: 768px) {
  .blog-related-posts__post {
    flex: 0 0 calc(100% / 2);
  }
}

@media screen and (min-width: 1000px) {
  .blog-related-posts__post {
    flex: 0 0 calc(100% / 3);
  }
}

.blog-related-posts__image {
  height: auto;
  max-width: 100%;
}

.blog-related-posts__title {
  margin: 0.7rem 0;
}

/* Blog comments */

.blog-comments {
  margin: 0 auto;
  max-width: 680px;
}

.blog-comments .hs-submit {
  text-align: center;
}

.blog-comments .comment-reply-to {
  border: 0 none;
}

.blog-comments .comment-reply-to:hover,
.blog-comments .comment-reply-to:focus {
  background-color: transparent;
  text-decoration: underline;
}

form.hs-form-private {
  background-color: #f5f5f5;

}
form input[type=submit].hs-button{
  display: inline-block;
  justify-content: center;
  column-gap: 0.375rem;
  border-radius:25px;
  background: linear-gradient(to right, #6900EC, #B40F70), #6900EC;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  font-weight: 300;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  box-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  --tw-ring-inset: inset;
  --tw-ring-color: rgb(225 225 225);
}