
/*art_blok_base.php  LINKER BLOK */

/* Flex container voor afbeelding  + tekst */
.meestgl-flex-container {
    display: flex;
    gap: 1em;
    align-items: flex-start;
    width: 99%;
	margin-bottom:1em;
}

/* LINKER KOLOM - AFBEELDING (30%) */
.meestgl-image-side {
    flex: 0 0 35%;
    max-width: 35%;
}

/* Container voor relatieve positionering */
.meestgl-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
	max-height: 12em;
}

.meestgl-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.meestgl-image-source {
     position: absolute;
    bottom: 10px;   /* afstand vanaf de onderkant */
    left: 10px;     /* afstand vanaf de linkerkant */
    display: block;
    font-size: 0.6em;
    color: white;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.5em 1em;
    border-radius: 20px;
    text-align: left;  /* tekst links uitlijnen */
    font-style: italic;
    max-width: 80%;    /* blijft leesbaar bij lange tekst */
    z-index: 10;
    backdrop-filter: blur(2px);
	}

/* Tekst linksonder OVER de afbeelding heen */
.meestgl-image-noper {
    position: absolute;
    bottom: 10px;   /* afstand vanaf de onderkant */
    left: 10px;     /* afstand vanaf de linkerkant */
    display: block;
    font-size: 0.6em;
    color: white;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.5em 1em;
    border-radius: 20px;
    text-align: left;  /* tekst links uitlijnen */
    font-style: italic;
    max-width: 80%;    /* blijft leesbaar bij lange tekst */
    z-index: 10;
    backdrop-filter: blur(2px);
}
/*art_blok_base.php EINDE  LINKER BLOK */


/* art_blok_base.php RECHTER KOLOM */
.meestgl-text-side {
    flex: 0 0 65%;
    max-width: 65%;
}

.meestgl-header {
    display: flex;
    align-items: center;
    gap: 0.35em;
    font-size: 0.82em;
    color: var(--text-medium);
    margin-bottom: 0.15em;
    flex-wrap: wrap;
}

.meestgl-where {
    opacity: 0.6;
}

.meestgl-source {
    font-weight: 600;
    color: var(--text-dark);
}

.meestgl-datum-groot {
    font-size: 0.78em;
    color: var(--text-medium);
    margin-bottom: 0.5em;
    font-weight: 500;
}


.meestgl-item-text {/* in index en ga */
    font-size: 1.05em;
    line-height: 1.28em;
    font-weight: 500;
    margin-top: 0.25em;
    color: var(--text-dark);
}
/* art_blok_base.php EINDE RECHTER KOLOM */ 


.meestgl-blok {/* index en sa */ 
    width: 100%;
    min-width: 90%;
    height: auto;
    margin: auto;
	 margin-top: -3em;
    margin-bottom: 1em;
}

.meestgl-blok-clicked {/* sa   achtergrond van het geklikte */
    width: 99%;
    height: auto;
    margin: auto;
    margin-bottom: 0em;
	margin-top: 1em;
	/*border:5px;
	border-color:black;
	border-style:solid;
	 border-radius: 8px;*/
}

.meestgl-kop {/* index en sa */
    font-size: 1.15em;
    font-weight: 700;
    text-align: center;
    padding: 0.7em 0;
    margin-top: 3.2em;
    border-bottom: 2px solid var(--accent);
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.meestgl-item {/* index en sa 
    padding: 0.4em 0.4em;*/
    border-bottom: 1px solid var(--border-light);
}

.oud-artikel-melding {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 12px;
    color: #856404;
    border-radius: 4px;
}
.oud-artikel-melding a {
    color: #856404;
    text-decoration: underline;
}

.geklikt {
    font-size: 1.25em;
    font-weight: 900;
    text-align: center;
    padding: 0.7em 0;
    letter-spacing: 0.3px;
} 

@media only screen and (max-width: 600px) {

.meestgl-blok-clicked {/* sa   achtergrond van het geklikte */
    width:99%;
	margin: auto;
    height: auto;
}

.meestgl-kop {
    font-size: 0.9em;
    font-weight: 700;
    text-align: center;
    padding: 0.7em 0;
    margin-top: 3.2em;
    border-bottom: 2px solid var(--accent);
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

/*art_blok_base.php  LINKER BLOK */

    .meestgl-flex-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 6px !important;  /* tussen plaatje en text */
    }

    /* Afbeelding:breedte  */
    .meestgl-image-side {
       width: 35% !important;
        flex-shrink: 0 !important;
    }
	
    /* Container voor afbeelding: grotere max-height zodat de afbeelding beter zichtbaar is */
    .meestgl-image-container {
        max-height: 20em !important;  /* of verwijder deze regel helemaal */
    }

.meestgl-image {
     width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

    /* Optioneel: de bronvermelding iets kleiner maken als die over de afbeelding heen valt */
	
	    .meestgl-image-source {
        font-size: 0.4em;
        padding: 0.3em 0.6em;
    }
	
    .meestgl-image-noper {
        font-size: 0.5em;
        padding: 0.3em 0.6em;
    }

/*art_blok_base.php EINDE  LINKER BLOK */


/* art_blok_base.php RECHTER KOLOM */

    /* Tekst:  breedte */
    .meestgl-text-side {
        width: 65% !important;
        flex: 0 0 auto !important;
        margin-left:0;
    }

.meestgl-header {
    display: flex;
    align-items: center;
    gap: 0.35em;
    font-size: 0.82em;
    color: var(--text-medium);
    margin-bottom: 0.15em;
	margin-left:0;
}

.meestgl-where {
    opacity: 0.6;
}

.meestgl-source {
    font-weight: 600;
    color: var(--text-dark);
}

.meestgl-datum-groot {
    font-size: 0.78em;
    color: var(--text-medium);
    margin-bottom: 0.5em;
    font-weight: 500;
}

.meestgl-item-text {/* in index en ga */
    font-size: 0.9em;
    line-height: 1.28em;
    font-weight: 500;
    margin-top: 0.25em;
    color: var(--text-dark);
	padding-right:0.5em;
}

/* art_blok_base.php EINDE RECHTER KOLOM */

}