#SBBlogModule.et_pb_module.et_pb_blog_0.et_pb_blog_grid_wrapper.et_pb_bg_layout_light 
  .et_pb_blog_grid .et_pb_post {
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
  border-radius: 25px !important;
  margin-bottom: 40px !important;
  color: #ffffff !important;
  min-height: 450px !important;
  display: flex ;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

#SBBlogModule .et_pb_post .et_pb_image_container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}
#SBBlogModule .et_pb_post .et_pb_image_container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#SBBlogModule .et_pb_post::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%) !important;
}

#SBBlogModule .et_pb_post h2.entry-title,
#SBBlogModule .et_pb_post .post-meta,
#SBBlogModule .et_pb_post .more-link {
  position: relative;
  z-index: 2 !important;
  margin: 0 !important;
  padding: 0 30px !important;
  color: #fff !important;
}

#SBBlogModule .et_pb_post h2.entry-title {
  font-size: 32px !important;
  line-height: 1.2em !important;
  margin-bottom: 10px !important;
  margin-top: auto !important; 
}

#SBBlogModule .et_pb_post .post-meta {
  font-size: 13px !important;
  margin-bottom: 15px !important;
  opacity: 0.9 !important;
}

#SBBlogModule .et_pb_post .more-link {
  display: inline-block !important;
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 30px !important;
  padding: 0 0 2px 0 !important; 
  color: #ffffff !important;
  background-color: transparent !important;
  border-bottom: 2px solid #fff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
}


#SBBlogModule .et_pb_post .more-link::after {
  content: url("https://sellabees.sphdev.nl/wp-content/uploads/2025/03/Icon-ionic-ios-arrow-round-forward.svg") !important;
  border-radius: 100% !important;
  line-height: 1 !important;
  position: relative !important;
  margin-left: 20px !important;
  top: 3px !important; 
}

#SBBlogModule  article > h2, #SBBlogModule  article > p, #SBBlogModule  article > div {
	position:absolute !important;
}

#SBBlogModule  article > h2 {
	bottom:108px;
}

#SBBlogModule  article > p {
	bottom:58px;
	text-transform: capitalize;
}

#SBBlogModule article > a > img {
	object-fit:cover !important;
}

/* Simplified category link styling - JS will handle positioning */
#SBBlogModule article > p > a {
    position: absolute !important;
    color: white !important;
    text-transform: math-auto !important;
    z-index: 3 !important;
    /* The JavaScript will handle the positioning */
}

#SBBlogModule article > div {
	bottom:0px;
	padding:0px 30px;
}

#SBBlogModule article {
	margin-bottom:0px !important;
	overflow:hidden;
	border-radius:25px;
	cursor:pointer;
}

#no-results {
	color:white;
	font-weight:normal;
}

#SBBlogModule article > a {
    transition: transform 1s ease-in-out !important; 
    margin-bottom:0px;
}

#SBBlogModule article:hover > a {
    transform: scale(1.1) !important; 
}

#SBBlogModule article:hover .category-top-link {
    transform: none !important;
}

#SBBlogModule article .category-top-link {
    transition: none !important;
}

/* Responsive title sizing */
@media only screen and (max-width: 1168px) { 
	#SBBlogModule .et_pb_post h2.entry-title {
		font-size:20px !important;
	}
}

/* Mobile fixes */
@media only screen and (max-width: 767px) {
  /* Fix row width on mobile */
  /* .et_pb_row {
    width: 95% !important;
    max-width: 95% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  } */
  
  /* Fix blog posts to take full width */
  .et_pb_blog_grid .et_pb_post {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
  
  /* Ensure blog content is properly sized */
  #SBBlogModule article, 
  #SBBlogModule article > a {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  #SBBlogModule article > a > img {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
  }
}

/* Extra small screens */
@media only screen and (max-width: 480px) {
  /* Remove fixed width/height and replace with percentage-based sizing */
  #SBBlogModule article, 
  #SBBlogModule article > a, 
  #SBBlogModule article > a > img {
    width: 100% !important;
    height: auto !important;
    min-height: 350px !important;
    margin: 0 auto !important;
    justify-self: stretch !important;
  }
  
  /* .et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px !important;
  } */
  
  #SBBlogModule .et_pb_post h2.entry-title {
    font-size: 18px !important;
  }
}

#category-filters label {
    display: block;
}

#category-filters select {
    display: none;
}

/* Media query om checkboxes om te zetten naar een dropdown */
@media (max-width: 1368px) {
    /* Verberg de checkboxes en toon de dropdown */
    #category-filters label{
        display: none !important;
    }
	
	#category-filters select {
    	display: block;
	}

	.blogRow h3 {
		display:none;
	}
	
	
	#category-filters select {
		width: 100%;
		padding: 8px;
		margin-bottom: 40px;
		font-size: 16px;
		padding-left:20px !important;
		font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
		color: #FFFFFF !important;
		font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
		background-color: RGBA(0, 0, 0, 0);
		border-radius: 100px !important;
		border: 1px solid white;
		appearance: none; /* Verwijder de standaard pijl in de meeste browsers */
		-webkit-appearance: none; /* Voor Safari */
		-moz-appearance: none; /* Voor Firefox */
		background-image: url("/wp-content/uploads/2025/03/dropdownArrow.svg"); /* Je logo als achtergrond */
		background-size: 15px; /* Zorg ervoor dat het logo goed schaalt */
		background-repeat: no-repeat; /* Zorg ervoor dat de afbeelding niet herhaald wordt */
		background-position: right 16px center; /* Plaats het logo aan de rechterkant */
	}
	
	#category-filters select > option {
		color: white;
    	background-color: #202020;
	}
}

/* pagination */
#pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#pagination-container button {
    color: white;
	background-color:#f0f0f000;
    border: 1px solid #666;
    padding: 7px 10px;
    margin: 0 5px;
    cursor: pointer;
	font-weight:bold;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#pagination-container button:hover {
    border: 0px solid white;
}

#pagination-container button:disabled {
    background-color: #f0f0f000;
	border: 0px solid white;
    color: white;
	cursor: default;
}

#pagination-container button.current {
    background-color: #f0f0f000;
    border-color: #FFB81C;
    font-weight: bold;
}

#pagination-container .ellipsis {
    background-color: transparent;
    border: none;
    cursor: default;
    color: #999;
    font-size: 16px;
    padding: 10px 20px;
}

/* blogposts grid */
.BlogPost.et_pb_posts > .et_pb_ajax_pagination_container {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  box-sizing: border-box;
}

/* checkbox styling */
.et_pb_code_1 h3 {
	font-size:25px;
	color: white;
	margin-bottom:20px;
	font-weight: bold;
	font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
}

.filter-group {
	display: flex;
    flex-direction: column;
    color: white;
    font-family: 'Din Medium', Helvetica, Arial, Lucida, sans-serif;;
    text-transform: math-auto;
}

.filter-group .custom-checkbox-wrapper,.filter-group .custom-checkbox-wrapper {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 5px;
    vertical-align: middle;
}

.filter-group .custom-checkbox-wrapper input[type="checkbox"], .filter-group .custom-checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.filter-group .checkmark, .filter-group .checkmark {
    width: 22px;
    height: 22px;
    background:#DFDFDF;
    box-sizing: border-box;
    display: inline-block;
	border-radius: 4px;
}

.filter-group .custom-checkbox-wrapper input[type="checkbox"]:checked ~ .checkmark, .filter-group .custom-checkbox-wrapper input[type="checkbox"]:checked ~ .checkmark {
    background: #FFB81C;
    border-color: #707070;
}

@media only screen and (max-width: 881px) {
	.BlogPost.et_pb_posts > .et_pb_ajax_pagination_container {
	  grid-template-columns: repeat(1, 1fr);
	}
}

@media only screen and (max-width: 1367px) {
	.blogRow {
		display:flex;
		flex-direction:column;
	}

	.blogRow > div {
		width:100% !important;
	}
}

/* blog sub pagina's */
:is(.zoom-90, .zoom-80, .zoom-75) .BlogSubpaginaSection .et_pb_divider_0_tb_body {
	padding-top:30vh;
	padding-bottom:30vh;
}

:is(.zoom-67, .zoom-50) .BlogSubpaginaSection .et_pb_divider_0_tb_body {
	padding-top:20vh;
	padding-bottom:20vh;
}

:is(.zoom-67, .zoom-50) .et_pb_section_0_tb_body.BlogSubpaginaSection {
	margin-top:0vh;
}

:is(.zoom-67, .zoom-50) .et_pb_section_1_tb_body.BlogSubpaginaSection {
	padding-top:5vh;
	padding-bottom:5vh;
}

/* nieuwsbrief aanmeld button positionering */
@media screen and (max-width: 425px) {
  .nieuwsBrief button.wpcf7-submit::after {
    margin-top: 1.5px !important;
  }
}