/* =============================================================
   Blog styles — aanpassen zonder SCSS-compilatie nodig
   ============================================================= */

/* Blog hero */
.mod-blog-hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mod-pageheader.mod-blog-hero .bg {
  z-index: -1;
}

.mod-blog-hero .content {
  position: relative;
  z-index: 1;
  padding: 40px 15px;
  text-align: center;
}
.mod-blog-hero .blog-hero-content {
  display: inline-block;
  background: #392BAA50;
  padding: 55px 15px;
  text-align: center;
  max-width: 528px;
}
.mod-blog-hero .blog-hero-content .blog-hero-subtitel {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  line-height: 27px;
  margin-top: 20px;
  opacity: 0;
}
.loaded .mod-blog-hero .blog-hero-content .blog-hero-subtitel {
  opacity: 1;
}
.mod-blog-hero .blog-hero-content h1 {
  color: #fff;
  margin-bottom: 0;
  line-height: 60px;
  font-size: 50px;
  font-weight: 900;
  font-family: "Raleway", serif;
}
.mod-blog-hero .blog-hero-content h1::before {
  content: '';
  display: block;
  width: 50%;
  height: 4px;
  background: #fff;
  margin: 0 auto 18px;
  max-width: 100px;
}

/* Blog overview */
.blog-overview {
  overflow: visible;
  padding-top: 0;
}

/* Section header */
.blog-section-header {
  padding: 60px 0 40px;
}
.blog-section-header h2 {
  font-family: 'Raleway', serif;
  color: #3A2BAB;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 20px;
}
.blog-section-header .blog-section-line {
  width: 100px;
  height: 3px;
  background: #3A2BAB;
  margin: 0 auto 4px;
}

/* Cards grid */
.blog-cards > [class*='col-'] {
  padding-bottom: 30px;
}

/* Blog card */
.card-blog {
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-blog > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #392BAA;
  text-decoration: none;
}
.card-blog > a:hover {
  text-decoration: none;
  color: #392BAA;
}
.card-blog > a:hover .card-blog-img {
  transform: scale(1.04);
}
.card-blog .card-blog-img-wrap {
  overflow: hidden;
  position: relative;
}
.card-blog .card-blog-img--placeholder {
  background-color: #3A2BAB;
}
.card-blog .card-blog-img-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(248, 248, 248, 0.6);
  color: #3A2BAB;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 6px;
  font-family: 'Raleway', sans-serif;
  text-align: center;
}
.card-blog .card-blog-img {
  padding-bottom: 62%;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease-in-out;
}
.card-blog .card-blog-body {
  justify-content: start;
  padding: 20px 20px 10px;
  text-align: center;
}
.card-blog .card-blog-body h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 900;
  color: #392BAA;
  margin-bottom: 20px;
  font-family: 'Raleway', sans-serif;
}
.card-blog .card-blog-body p {
  font-size: 16px;
  color: #392BAA;
  line-height: 24px;
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-blog .card-blog-body p a {
  font-size: 16px;
  color: #392BAA;
  line-height: 24px;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}
.card-blog .card-blog-footer {
  padding: 15px 20px 20px;
}
.card-blog .card-blog-footer .btn {
  display: block;
  width: 100%;
  text-align: center;
}

/* Paginering */
.blog-pagination {
  padding: 10px 0 40px;
}
.blog-pagination .pagination .page-link {
  color: #3A2BAB;
  border-color: #392BAA;
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
}
.blog-pagination .pagination .page-link:hover {
  background: #E6E9EC;
  color: #3A2BAB;
  border-color: #c3cad2;
}
.blog-pagination .pagination .page-item.active .page-link {
  background: #3A2BAB;
  border-color: #3A2BAB;
  color: #fff;
}
.blog-pagination .pagination .page-item.disabled .page-link {
  color: #a3adad;
}

/* Detailpagina: gele header */
.mod-blog-post-header {
  background: rgba(251, 228, 130, 1);
  padding: 20px 0 80px !important;
  text-align: center;
}
.back-link-wrapper {
  background: rgba(251, 228, 130, 1);
  padding: 20px 6px;
}
.blog-back-link {
  display: inline-block;
  color: rgba(57, 43, 170, 1);
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  text-decoration: none;
  margin-bottom: 30px;
}
.blog-back-link::before {
  content: '←';
  margin-right: 6px;
}
.blog-back-link:hover {
  color: rgba(57, 43, 170, 1);
  text-decoration: underline;
}
.mod-blog-post-header h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  color: rgba(57, 43, 170, 1);
  font-size: 50px;
  line-height: 60px;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 15px;
}
.mod-blog-post-header h1::before {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: rgba(57, 43, 170, 1);
  margin: 0 auto 20px;
}
.blog-post-date {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: rgba(57, 43, 170, 1);
  margin: 0;
}

/* Detailpagina: intro tekst */
.blog-intro {
  padding: 50px 0 10px;
}
.blog-intro p {
  font-size: 16px;
  line-height: 1.75;
}

/* Lees meer */
.blog-more {
  background: #ffffff;
  padding: 60px 0;
  overflow: visible;
}
.blog-more .blog-more-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  color: rgba(57, 43, 170, 1);
  font-size: 45px;
  margin-bottom: 40px;
}
.blog-more .blog-more-title::before {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: rgba(57, 43, 170, 1);
  margin: 0 auto 20px;
}
section.post-type-post {
  padding-top: 30px;
}

.blog-more-title {

}

@media (min-width: 768px) {
  .blog-section-header {
    padding: 70px 0 50px;
  }
  .blog-section-header h2 {
    font-size: 48px;
  }
  .mod-blog-post-header {
    padding: 80px 0;
  }
  .mod-blog-post-header h1 {
    font-size: 52px;
  }
}

@media (min-width: 992px) {
  .mod-blog-post-header h1 {
    font-size: 60px;
  }
}
