/* KREDEKOR Referenciák – a rács és az oldal saját, tartós komponensstílusa. */
.krd-references-page,
.krd-references-page * {
	box-sizing: border-box;
}

.krd-references-row {
	width: min(calc(100% - 48px), 1320px) !important;
	max-width: 1320px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.krd-references-hero {
	display: flex;
	align-items: center;
	min-height: 610px;
	padding-top: 54px !important;
	padding-bottom: 34px !important;
}

.krd-references-hero::before,
.krd-references-hero::after {
	display: none !important;
	content: none !important;
}

.krd-references-hero > .wpb_column {
	float: none !important;
}

.krd-references-hero > .wpb_column > .vc_column-inner {
	padding-right: 18px !important;
	padding-left: 18px !important;
}

.krd-references-eyebrow {
	margin-bottom: 16px !important;
	color: #00aeef;
	font-family: Caveat, cursive;
	font-size: 30px;
	line-height: 1.2;
}

.krd-references-eyebrow p,
.krd-references-intro p {
	margin: 0;
}

.krd-references-title {
	margin: 0 0 24px !important;
	color: #111 !important;
	font-family: Manrope, sans-serif !important;
	font-size: 76px !important;
	font-weight: 800 !important;
	letter-spacing: -3px;
	line-height: 1.04 !important;
}

.krd-references-intro {
	max-width: 560px;
	color: #111;
	font-size: 20px;
	line-height: 1.75;
}

.krd-references-hero-image,
.krd-references-hero-image .vc_single_image-wrapper {
	display: block !important;
	margin: 0 !important;
}

.krd-references-hero-image img {
	display: block;
	width: 100% !important;
	max-width: 650px;
	height: auto !important;
	margin: 0 auto !important;
	object-fit: contain;
}

.krd-reference-section {
	padding-top: 8px !important;
	padding-bottom: 36px !important;
}

.krd-reference-section > .wpb_column > .vc_column-inner {
	padding-right: 18px !important;
	padding-left: 18px !important;
}

.krd-reference-browser {
	width: 100%;
}

.krd-reference-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 34px;
}

.krd-reference-filters button {
	appearance: none;
	padding: 13px 24px;
	border: 2px solid #111;
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	color: #111;
	font: 700 16px/1.2 Manrope, sans-serif;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.krd-reference-filters button:hover {
	background: #ffd200;
	box-shadow: 5px 5px 0 #00aeef, 8px 8px 0 #ec008c;
	transform: translate(-2px, -2px);
}

.krd-reference-filters button.is-active {
	background: #00aeef;
	box-shadow: 4px 4px 0 #ffd200, 7px 7px 0 #ec008c;
	color: #fff;
}

.krd-reference-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 28px !important;
	width: 100%;
}

.krd-reference-card {
	min-width: 0;
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid #dfe5eb;
	border-radius: 22px;
	background: #fff;
	box-shadow: none;
	transition: transform .22s ease, box-shadow .22s ease;
}

.krd-reference-card:hover {
	box-shadow: 0 22px 44px rgba(17, 17, 17, .12), 6px 6px 0 #00aeef;
	transform: translateY(-6px);
}

.krd-reference-card[hidden] {
	display: none !important;
}

.krd-reference-card-link {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	color: inherit !important;
	text-decoration: none !important;
}

.krd-reference-image {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	aspect-ratio: 3 / 2;
	background: #fff;
	object-fit: contain;
}

.krd-reference-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px 24px 24px;
}

.krd-reference-copy h2 {
	margin: 0 0 10px !important;
	color: #111 !important;
	font-family: Manrope, sans-serif !important;
	font-size: 25px !important;
	font-weight: 800 !important;
	letter-spacing: -.5px;
	line-height: 1.25 !important;
}

.krd-reference-copy p {
	margin: 0 0 17px;
	color: #5d6672;
	font-size: 15px;
	line-height: 1.65;
}

.krd-reference-badge {
	display: inline-flex;
	margin-top: auto;
	padding: 7px 13px;
	border-radius: 8px;
	background: #eaf7fd;
	color: #007fb0;
	font-size: 13px;
	font-weight: 700;
}

.krd-references-cta {
	padding-top: 12px !important;
	padding-bottom: 84px !important;
	text-align: center;
}

.krd-references-cta .vc_btn3-container {
	display: inline-block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.krd-references-cta .vc_btn3 {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 14px 30px !important;
	border: 2px solid #111 !important;
	border-radius: 12px !important;
	background: #00aeef !important;
	box-shadow: 5px 5px 0 #ffd200, 9px 9px 0 #ec008c !important;
	color: #fff !important;
	font: 800 16px/1.2 Manrope, sans-serif !important;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.krd-references-cta .vc_btn3:hover {
	background: #111 !important;
	box-shadow: 7px 7px 0 #ffd200, 12px 12px 0 #ec008c !important;
	color: #fff !important;
	transform: translate(-3px, -3px);
}

body:has(.krd-references-page) .krd-cmyk-menu .krd-menu-link-references {
	color: #00aeef !important;
}

body:has(.krd-references-page) .krd-cmyk-menu .krd-menu-link-references::after {
	background: #00aeef !important;
	transform: scaleX(1) !important;
}

@media (max-width: 1024px) {
	.krd-references-hero {
		min-height: auto;
		padding-top: 48px !important;
	}

	.krd-references-title {
		font-size: 60px !important;
	}

	.krd-references-intro {
		font-size: 18px;
	}

	.krd-reference-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 767px) {
	.krd-references-row {
		width: min(calc(100% - 28px), 1320px) !important;
	}

	.krd-references-hero {
		display: block;
		padding-top: 30px !important;
		padding-bottom: 18px !important;
	}

	.krd-references-hero > .wpb_column {
		width: 100% !important;
	}

	.krd-references-eyebrow {
		margin-bottom: 10px !important;
		font-size: 25px;
	}

	.krd-references-title {
		margin-bottom: 18px !important;
		font-size: 48px !important;
		letter-spacing: -2px;
	}

	.krd-references-intro {
		font-size: 16px;
		line-height: 1.65;
	}

	.krd-references-hero-image {
		margin-top: 24px !important;
	}

	.krd-reference-filters {
		gap: 10px;
		margin-bottom: 24px;
	}

	.krd-reference-filters button {
		padding: 11px 15px;
		font-size: 14px;
	}

	.krd-reference-grid {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}

	.krd-reference-copy h2 {
		font-size: 22px !important;
	}

	.krd-references-cta {
		padding-bottom: 58px !important;
	}
}
