/* Overzichtskaarten */
.fgh-card-inner { position: relative; }
.fgh-card-photo { display: block; overflow: hidden; border-radius: 999px 999px 0 0; line-height: 0; }
.fgh-card-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.fgh-card-panel { position: relative; margin: -56px 16px 0; padding: 24px 20px 22px; background: #152935; color: #fff; border-radius: 12px; text-align: center; box-shadow: 0 12px 18px -10px rgba(21, 41, 53, .35); transition: transform .3s ease; }
.fgh-card-name { margin: 0; font-family: var(--e-global-typography-primary-font-family), serif; font-size: 3.2rem; font-weight: 400; line-height: 1.1; color: #fff; }
.fgh-card-name a { color: inherit; }
.fgh-card-name a::after { content: ''; position: absolute; inset: -9999px; }
.fgh-card-inner { overflow: hidden; padding-bottom: 32px; }
.fgh-card-kennel { margin: 6px 0 0; font-family: var(--e-global-typography-text-font-family), sans-serif; font-size: 1.5rem; line-height: 1.35; color: rgba(255, 255, 255, .82); }
.fgh-card-dob { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(240, 210, 162, .4); font-family: var(--e-global-typography-accent-font-family), sans-serif; font-size: 1.4rem; letter-spacing: .5px; color: #F0D2A2; }
.fgh-card-dob span { text-transform: uppercase; letter-spacing: 1.5px; font-size: 1.2rem; margin-right: 4px; }
.fgh-card-inner:hover .fgh-card-photo img { transform: scale(1.05); }
.fgh-card-inner:hover .fgh-card-panel { transform: translateY(-6px); }
.fgh-card-name a:focus-visible { outline: 2px solid #F0D2A2; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .fgh-card-photo img, .fgh-card-panel { transition: none; } }

/* Profiel */
.fgh-block-title { font-family: 'Playfair Display', serif; font-size: 3rem; line-height: 1.15; color: #152935; text-align: center; margin: 48px 0 20px; }
.fgh-ped-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; text-align: left; }
.fgh-ped-cell { display: flex; flex-direction: column; justify-content: center; padding: 10px 14px; background: #F8F4EC; border-radius: 8px; font-size: 1.5rem; line-height: 1.3; color: #152935; overflow-wrap: anywhere; }
.fgh-g1 { grid-column: 1; grid-row: span 4; background: #152935; color: #fff; }
.fgh-g2 { grid-column: 2; grid-row: span 2; background: #F0D2A2; }
.fgh-g3 { grid-column: 3; }
.fgh-ped-label { font-family: Barlow, sans-serif; font-size: 1.2rem; letter-spacing: 1px; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }
.fgh-ped-name a { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.fgh-results { list-style: none; margin: 4px 0 0; padding: 0 !important; }
.fgh-results li { list-style: none !important; }
@media (max-width: 767px) {
	.fgh-ped-grid { grid-template-columns: 1fr; }
	.fgh-g1, .fgh-g2, .fgh-g3 { grid-column: 1; grid-row: auto; }
	.fgh-g2 { margin-left: 14px; }
	.fgh-g3 { margin-left: 28px; }
	.fgh-block-title { font-size: 2.6rem; }
}

/* Fotocarousel Over ons */
.fgh-carousel .swiper-slide-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.fgh-carousel .elementor-image-carousel-caption { font-size: 1.5rem; color: #4C5559; text-align: center; margin-top: 10px; }
.fgh-carousel .elementor-swiper-button { color: #fff; background: rgba(21, 41, 53, .75); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

/* Leesbaarheid links en iconen */
.fgh-card-name a, .fgh-card-name a:hover, .fgh-card-name a:focus, .fgh-card-name a:active { color: #fff !important; opacity: 1 !important; }
.fgh-ped-name a:hover, .fgh-ped-name a:focus, .fgh-ped-name a:active { color: inherit !important; opacity: .85 !important; }
.fgh-ped-name a .fgh-ped-text { text-decoration: underline !important; text-underline-offset: 3px; }
.fgh-ped-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.fgh-g1 .fgh-ped-icon { border-color: #F0D2A2; }

/* Nakomelingen */
.fgh-card-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; text-align: left; }
.fgh-card-row .fgh-card-inner { flex: 0 1 300px; }
.fgh-card-row .fgh-card-name { font-size: 2.8rem; }

/* Mobiel: kaarten naast elkaar, compacter */
@media (max-width: 767px) {
	.elementor-shortcode:has(> .fgh-card),
	.fgh-card-row {
		display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; justify-content: safe center !important; gap: 12px;
		overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 16px 4px;
	}
	.elementor-shortcode:has(> .fgh-card)::-webkit-scrollbar, .fgh-card-row::-webkit-scrollbar { display: none; }
	.elementor-shortcode > .elementor-element-65fbc8e.fgh-card.elementor-column, .goldenPosts .elementor-shortcode > .elementor-element-65fbc8e.fgh-card.elementor-column { flex: 0 0 72vw !important; width: 72vw !important; max-width: 280px !important; margin: 0 !important; scroll-snap-align: center; }
	.elementor-shortcode > .fgh-card > .elementor-element-populated { padding: 0 !important; }
	.fgh-card-row .fgh-card-inner { flex: 0 0 72vw; max-width: 280px; scroll-snap-align: center; }
	.fgh-card-photo img { aspect-ratio: 1 / 1; }
	.fgh-card-panel { margin: -40px 10px 0; padding: 16px 12px 14px; }
	.fgh-card-name, .fgh-card-row .fgh-card-name { font-size: 2.6rem; }
	.fgh-card-kennel { font-size: 1.3rem; margin-top: 4px; }
	.fgh-card-dob { margin-top: 10px; padding-top: 8px; font-size: 1.3rem; }
	.fgh-card-inner { padding-bottom: 20px; width: 100%; }
}

/* Stamboomlinks: rond icoon, tekst in de kleur van het vak */
.fgh-ped-cell .fgh-ped-name a, .fgh-ped-cell .fgh-ped-name a:link, .fgh-ped-cell .fgh-ped-name a:visited, .fgh-ped-cell .fgh-ped-name a:hover, .fgh-ped-cell .fgh-ped-name a:focus { color: inherit !important; }
.fgh-ped-cell .fgh-ped-name img.fgh-ped-icon { box-sizing: border-box; flex: 0 0 44px; width: 44px !important; height: 44px !important; max-width: none; border-radius: 50% !important; border: 2px solid #F0D2A2 !important; object-fit: cover; object-position: center; }
.fgh-g2 .fgh-ped-name img.fgh-ped-icon { border-color: #152935 !important; }

/* Golden-detail: foto's op vast formaat, nooit uit verhouding */
.dawg-swiper-container .swiper-slide > a { display: block; width: 100%; line-height: 0; }
.dawg-swiper-container .swiper-slide img { display: block; width: 100%; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }
.elementor-2725 .elementor-element-e494cab img { aspect-ratio: 1 / 1; height: 160px !important; object-fit: cover; object-position: center; }
