.country-gutenberg-page {
	background: #fff;
}

.country-gutenberg-page__content {
	width: 100%;
}

.country-gutenberg-page__content > * {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

.country-gutenberg-page__content > .alignwide {
	max-width: 1320px;
}

.country-gutenberg-page__content > .alignfull {
	max-width: none;
	width: 100%;
}

.country-gutenberg-page .wp-block-group {
	box-sizing: border-box;
}

/* .country-gutenberg-page .wp-block-group.alignfull {
	padding-left: clamp(1.5rem, 4vw, 4rem);
	padding-right: clamp(1.5rem, 4vw, 4rem);
} */

.wp-block-group:not(.alignfull) {
        padding-inline: clamp(1rem, 4vw, 2rem);
    }

.country-gutenberg-page .wp-block-columns {
	gap: clamp(1.5rem, 3vw, 3rem);
}

.country-gutenberg-page .wp-block-image img {
	max-width: 100%;
	height: auto;
	display: block;
}

.country-gutenberg-page .wp-block-buttons {
	gap: 1rem;
}

.country-gutenberg-page .wp-block-button__link {
	border-radius: 999px;
}

@media (max-width: 781px) {
	.country-gutenberg-page__content > * {
		max-width: calc(100% - 2rem);
	}

	.country-gutenberg-page__content > .alignfull {
		max-width: none;
	}

	.country-gutenberg-page .wp-block-columns {
		gap: 1.5rem;
	}
}

.wp-block-button.is-style-arrow .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.wp-block-button.is-style-arrow .wp-block-button__link::after {
  content: "";
  display: inline-block;
   width: 1.25rem;
    height: 1.05rem;
  background-color: currentColor;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 17 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.87867966,3.33066907e-16 L16.2426407,6.36396103 L16.2384661,6.367 L16.4142136,6.54264069 L15.7071068,7.24974747 L15.7034661,7.246 L9.87867966,13.0710678 L8.46446609,11.6568542 L12.619,7.5 L0,7.5 L0,5.5 L12.549,5.5 L8.46446609,1.41421356 L9.87867966,3.33066907e-16 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 17 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.87867966,3.33066907e-16 L16.2426407,6.36396103 L16.2384661,6.367 L16.4142136,6.54264069 L15.7071068,7.24974747 L15.7034661,7.246 L9.87867966,13.0710678 L8.46446609,11.6568542 L12.619,7.5 L0,7.5 L0,5.5 L12.549,5.5 L8.46446609,1.41421356 L9.87867966,3.33066907e-16 Z'/%3E%3C/svg%3E");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.wp-block-button__link:hover{
    color: white;
}

.wp-block-button__link:hover::after {
  transform: translateX(9px);
  animation: 5ms;
  color: white !important;
}

/* ==========================================================================
   Country Team Block
   ========================================================================== */

.country-team-block {
	background: #2f78ff;
	padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 4vw, 3rem);
	color: #fff;
}

.country-team-block .country-container {
	max-width: 1320px;
	margin: 0 auto;
}

.country-team-block h2 {
	color: #fff;
	margin-bottom: 3rem;
}

.country-eyebrow {
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	margin-bottom: 1rem;
}

.country-team-block__primary {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	background: #031330;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 3rem;
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-team-block__primary:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.country-team-block__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: grayscale(100%);
}

.country-team-block__content {
	min-width: 0;
	padding: 2.5rem 3rem;
}

.country-team-block__content h3 {
	color: #fff;
	font-size: 2.4rem;
	margin-bottom: 0.5rem;
}

.country-team-block__title {
	color: #5ea5ff;
	font-weight: 600;
	margin-bottom: 2rem;
}

.country-team-block__content p {
	max-width: 65ch;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.7;
}

.country-team-block__actions {
	margin-top: 1.5rem;
}

.country-team-block__experts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
}

.country-team-block__expert {
	display: flex;
	flex-direction: column;
	background: #031330;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-team-block__expert:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.country-team-block__expert img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	filter: grayscale(100%);
}

.country-team-block__expert h3 {
	color: #fff;
	font-size: 1.55rem;
	line-height: 1.2;
	padding: 1.5rem 1.5rem 0.5rem;
}

.country-team-block__label {
	display: inline-block;
	align-self: flex-start;
	margin: 0 1.5rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 100px;
	color: #fff;
	font-size: 0.85rem;
}

.country-team-block__expert .country-team-block__actions {
	margin: auto 1.5rem 1.5rem;
	padding-top: 1.5rem;
}

.country-gutenberg-page .wp-block-media-text.has-rounded-media > .wp-block-media-text__media,
.country-gutenberg-page .wp-block-media-text.has-rounded-media > .wp-block-media-text__media img,
.country-gutenberg-page .wp-block-media-text.has-rounded-media > .wp-block-media-text__media video {
	border-radius: 19px;
}

.country-gutenberg-page .wp-block-media-text.has-rounded-media > .wp-block-media-text__media {
	overflow: hidden;
}


@media (max-width: 1100px) {
	.country-team-block__primary {
		grid-template-columns: 1fr;
	}

	.country-team-block__experts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.country-team-block {
		padding-block: 4rem;
	}

	.country-team-block__content {
		padding: 2rem;
	}

	.country-team-block__content h3 {
		font-size: 2rem;
	}

	.country-team-block__experts {
		grid-template-columns: 1fr;
	}
}

.breadcrumb li a,
.breadcrumb [aria-current="page"] {
    color: #fff ;
}

.breadcrumb li + li::before {
    border-right-color: #fff;
}

.country-gutenberg-page .wp-block-group.is-style-link-card {
        transition: transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
    }

    .country-gutenberg-page .wp-block-group.is-style-link-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0, 13, 41, .08);
    }


    .country-gutenberg-page .link-card {
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .country-gutenberg-page .link-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0, 13, 41, .08);
    }

    .country-gutenberg-page .link-card .wp-block-icon {
        transition: transform .2s ease;
    }

    .country-gutenberg-page .link-card:hover .wp-block-icon {
        transform: translateX(8px);
    }

    /* Hele Gutenberg row klikbaar */
    .country-gutenberg-page .link-card {
        position: relative;
        cursor: pointer;
    }

    /* De tekstlink vult via ::after de volledige row */
    .country-gutenberg-page .link-card a::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
    }

    .country-gutenberg-page .link-card a {
        text-decoration: none;
    }

    /* Query Loop cards */
    .country-gutenberg-page .wp-block-post-template > li {
        transition: transform .2s ease,
        box-shadow .2s ease;
    }

    .country-gutenberg-page .wp-block-post-template > li:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(0, 13, 41, .08);
    }

    /* Image */
    .country-gutenberg-page .wp-block-post-template .wp-block-post-featured-image {
        overflow: hidden;
    }

    .country-gutenberg-page .wp-block-post-template .wp-block-post-featured-image img {
        transition: transform .3s ease;
    }

    .country-gutenberg-page .wp-block-post-template > li:hover .wp-block-post-featured-image img {
        transform: scale(1.025);
    }


    .country-gutenberg-page .wp-block-post-template > li:hover .wp-block-read-more::after,
    .country-gutenberg-page .wp-block-post-template > li:hover .wp-block-post-excerpt__more-link::after {
        transform: translateX(6px);
    }
