.haartips-achtergrond {
	position: relative;
	min-height: 65vh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8%;
	color: #fff;
	overflow: hidden;
}

/* Overlay: alleen achtergrond */
.haartips-achtergrond::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5); /* 👈 speel hiermee */
	z-index: 10;
}

@media (max-width: 600px) {
	.haartips-achtergrond_content h1::after{
		width:300px;
	}
}

/* Content boven overlay */
.haartips-achtergrond_content,
.haartips-achtergrond_image {
	position: relative;
	z-index: 12;
}

.haartips-achtergrond_content h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.haartips-achtergrond_content p {
	font-size: 1.2rem;
	line-height: 1.6;
}

.haartips-achtergrond_image img {
	max-width: 400px;
	width: 100%;
	height: auto;
  border-radius: 30px;
}

.hero,
.haartips-achtergrond {
  margin-top: -155px;
  position: relative;
  z-index: 5;
  padding-top: 95px;
}

.haartips-titel {
  font-family: ledger;
  font-size: 70px;
  font-weight: 100;
}

.haartips-tekst {
  font-family: Libre Franklin;
  font: 100;
  max-width: 75%;
}

.haartips-achtergrond_image {
	text-align: center;
}

.haartips-achtergrond_image img {
	display: block;
	margin: 0 auto;
}

.image-caption {
	display: block;
	margin-top: 0.75rem;
	font-size: 1.2rem;
	color: #fff; /* of bijv. #8C4B34 */
	opacity: 0.85;
  font: 100;
  font-family: Libre Franklin;
}


.haartips-achtergrond_content h1 {
	font-size: 7rem;
	margin-bottom: 1.2rem;
	position: relative;
}

/* Streep onder titel */
.haartips-achtergrond_content h1::after {
	content: "";
	display: block;
	width: 400px;              /* lengte van de streep */
	height: 4px;              /* dikte */
	background-color: #8C4B34;
	margin: 1rem 0 1.5rem 0;  /* ruimte boven/onder */
}

@media (max-width: 600px) {
	.haartips-achtergrond_content h1::after{
		width:300px;
	}
}

@media (max-width: 480px) {

	.haartips-achtergrond_content h1 {
		font-size: 3rem !important;
	}

	.haartips-achtergrond_image {
		margin-top: 2rem;
	}
}

.afbeelding-tekst .container {
    display: flex;
    gap: 40px;
}

.afbeelding-tekst.swap .container {
    flex-direction: row-reverse;
}

.haartips-single {
    padding: 6rem 8%;
}

.haartips-single h1 {
    text-align: center;
    margin-bottom: 80px;
}

.blok {
    margin-bottom: 100px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.afbeelding-tekst .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.afbeelding-tekst .tekst,
.afbeelding-tekst .afbeelding {
    flex: 1;
}

.afbeelding-tekst .tekst h2 {
    margin-bottom: 20px;
}

.afbeelding-tekst .tekst p {
    line-height: 1.7;
    margin-bottom: 16px;
}

.afbeelding-tekst .afbeelding img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* Swap via ACF true/false */
.afbeelding-tekst.swap .container {
    flex-direction: row-reverse;
}

.afbeelding-onder-tekst h2 {
    margin-bottom: 20px;
}

.afbeelding-onder-tekst p {
    line-height: 1.7;
    margin-bottom: 40px;
}

.afbeelding-onder-tekst .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.afbeelding-onder-tekst .gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    max-width: 400px;
    
}

.tekst-only {
    margin: 0 auto;
    margin-bottom: 100px;
}

.tekst-only p {
    line-height: 1.8;
    margin-bottom: 18px;
}

@media (max-width: 768px) {

    .haartips-single {
        padding: 40px 0;
    }

    .blok {
        margin-bottom: 60px;
    }

    .afbeelding-tekst .container {
        flex-direction: column;
    }

    /* Swap hoeft niks te doen op mobiel */
    .afbeelding-tekst.swap .container {
        flex-direction: column;
    }

    .afbeelding-onder-tekst .gallery img {
        height: 200px;
    }
}


/* =========================
   HAARTIPS OVERZICHT
   ========================= */

.haartips-archive {
    padding: 4rem 6%;
}

.haartips-archive-title {
    text-align: center;
    font-family: ledger;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 4rem;
}

/* GRID */
.haartips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* CARD */
.haartip-card {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.haartip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.haartip-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* IMAGE */
.haartip-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.haartip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TITLE */
.haartip-title {
    text-align: center;
    font-family: Libre Franklin;
    font-size: 1.1rem;
    font-weight: 400;
    color: black;
    padding: 1.2rem 1rem;
}

@media (max-width: 768px) {

    .haartips-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .haartip-image {
        height: 220px;
    }

    .haartips-archive-title {
        font-size: 2.2rem;
    }
}

.haartips-cirkel{
	position: absolute;
    margin-top: 18vw;
    left: 10vw;
    width: clamp(220px, 50vw, 500px);
    height: clamp(220px, 50vw, 500px);
    border-radius: 50%;
    background-color: #C9CDC1;
    z-index: -1;
}

@media (max-width: 900px) {
	.haartips-cirkel { right: -25vw; top: -12vw; }
}

@media (max-width: 600px) {
	.haartips-cirkel {
		display: none;
	}
}