/* =========================================================================
   FVKB ontwerplaag 8: pagina van een groep
   ========================================================================= */

/* Groot beeld onder de kop */
.fvkb-groep-beeld img { height: 560px !important; object-fit: cover; object-position: center 62%; border-radius: 14px; }
@media (max-width: 1024px) { .fvkb-groep-beeld img { height: 440px !important; } }
@media (max-width: 767px) { .fvkb-groep-beeld img { height: 300px !important; } }

/* In een oogopslag: zoveel kaarten als er feiten zijn, vier naast elkaar op desktop */
.fvkb-feiten { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)) !important; }

/* Agenda van de groep: een kaart, zonder maandkop */
.elementor-element-0d72303 .fvkb-maandkop { display: none !important; }

/* Video in een donkere band */
.fvkb-video-sectie .fvkb-video__noot { color: #D5D8F7; font-size: 14px; }

/* Twee grote foto's */
.fvkb-groepfotos .fvkb-fotos { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: 340px !important; gap: 20px !important; }
.fvkb-groepfotos .fvkb-foto { grid-row: auto !important; grid-column: auto !important; height: 340px; border-radius: 10px; overflow: hidden; display: block; background: #0E1240; }
.fvkb-groepfotos .fvkb-foto img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 10px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.fvkb-groepfotos .fvkb-foto:hover img { transform: scale(1.04); }
@media (max-width: 760px) {
	.fvkb-groepfotos .fvkb-fotos { grid-template-columns: minmax(0, 1fr) !important; grid-auto-rows: 240px !important; gap: 12px !important; }
	.fvkb-groepfotos .fvkb-foto { height: 240px; }
}

/* Album en tegel naar het fotoarchief: 2 tegen 1 */
.fvkb-groepfoto-rij { display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px !important; align-items: start; }
.fvkb-groepfoto-rij > .elementor-widget-loop-grid { width: 100% !important; }
.fvkb-groepfoto-rij .elementor-loop-container { grid-template-columns: minmax(0, 1fr) !important; }
.fvkb-groepfoto-rij .fvkb-album-tegel__beeld { aspect-ratio: auto !important; height: 300px; }
.fvkb-groepfoto-rij .fvkb-album-tegel__titel .elementor-heading-title { font-size: 18px !important; }
@media (max-width: 900px) { .fvkb-groepfoto-rij { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .fvkb-groepfoto-rij .fvkb-album-tegel__beeld, .fvkb-archieftegel__vlak { height: 240px !important; } }

.fvkb-archieftegel { display: flex !important; flex-direction: column; gap: 12px; width: 100% !important; text-decoration: none; color: #0E1240; }
.fvkb-archieftegel__vlak { position: relative; height: 300px; border-radius: 10px; background: #0E1240; padding: 28px !important; box-sizing: border-box; justify-content: flex-end !important; overflow: hidden; }
.fvkb-archieftegel__vlak::before { content: ""; position: absolute; left: 0; right: 0; top: 48px; height: 41px; background: repeating-linear-gradient(to bottom, rgba(217, 164, 58, .5) 0 1px, transparent 1px 10px); }
.fvkb-archieftegel__kop .elementor-heading-title { font-family: "Unbounded", sans-serif; font-size: 22px; font-weight: 600; line-height: 1.2; color: #FFFFFF; }
.fvkb-archieftegel__sub .elementor-heading-title { font-family: "Figtree", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.4; color: #D5D8F7; }
.fvkb-archieftegel__titel .elementor-heading-title { font-family: "Unbounded", sans-serif; font-size: 18px; font-weight: 600; line-height: 1.25; color: #0E1240; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: transparent; transition: text-decoration-color .25s; }
.fvkb-archieftegel:hover .fvkb-archieftegel__titel .elementor-heading-title { text-decoration-color: #2B3BD6; }
.fvkb-archieftegel:focus-visible { outline: 2px solid #2B3BD6; outline-offset: 4px; border-radius: 10px; }

/* Ook onder ons vaandel: kleine vaandels aan een stang */
.fvkb-o-vlagbaan--groep { min-width: 560px; padding: 0 10px; }
.fvkb-o-vlagbaan--groep .fvkb-o-stang { height: 6px; border-radius: 3px; }
.fvkb-o-vlagbaan--groep .fvkb-o-stang > span { width: 16px; height: 16px; top: -5px; }
.fvkb-o-vlagbaan--groep .fvkb-o-vlagrij { padding: 0 20px; }
.fvkb-o-vlagbaan--groep .fvkb-o-vlagrij a { gap: 12px; }
.fvkb-o-vlagbaan--groep .fvkb-o-kleinvaandel { width: 104px; height: 136px; }
.fvkb-o-vlagbaan--groep .fvkb-o-kleinvaandel .fvkb-o-franje { inset: 0 0 -8px 0; }
.fvkb-o-vlagbaan--groep .fvkb-o-kleinvaandel .fvkb-o-doek { padding-top: 17px; }
.fvkb-o-vlagbaan--groep .fvkb-o-kleinvaandel img { width: 66px; height: 66px; }
.fvkb-o-vlagbaan--groep .fvkb-o-onder { font-family: "Figtree", sans-serif; font-size: 14px; font-weight: 600; }

.fvkb-groepfotos .fvkb-foto { width: 100% !important; max-width: none !important; }
.fvkb-groepfoto-rij .fvkb-album-tegel__beeld { height: 300px !important; min-height: 300px !important; padding: 0 !important; }
@media (max-width: 767px) { .fvkb-groepfoto-rij .fvkb-album-tegel__beeld { height: 240px !important; min-height: 240px !important; } }

/* Kop op tablet en mobiel: geen groot vaandel rechts, zoals in het ontwerp */
@media (max-width: 900px) { .fvkb-paginakop .fvkb-groep-vaandel { display: none !important; } }
