/* ==========================================================
   NAPONTA JOBBAN
   Homepage – Audience / Path cards
   ========================================================== */

.nj-audience {
	position: relative;
	width: 100%;
	padding: 104px 0 112px;
	background: #FAF8F3;
}


/* ----------------------------------------------------------
   Section heading area
   ---------------------------------------------------------- */

.nj-audience .nj-section-eyebrow {
	margin: 0 0 14px;

	color: #2E5E4E;

	font-family: "Manrope", sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;

	letter-spacing: 0.09em;
	text-transform: uppercase;
}


.nj-audience h2 {
	max-width: 760px;
	margin: 0 0 18px;

	color: #144637;

	font-family: "Libre Caslon Text", Georgia, serif;
	font-size: clamp(40px, 3.5vw, 52px);
	font-weight: 400;
	line-height: 1.12;

	letter-spacing: -0.02em;
	text-wrap: balance;
}


.nj-audience h2 + p {
	max-width: 700px;
	margin: 0 0 52px;

	color: rgba(43, 43, 43, 0.72);

	font-size: 17px;
	line-height: 1.7;
}


/* ==========================================================
   Grid
   ========================================================== */

.nj-path-grid {
	margin-top: 0;
}


.nj-path-grid > .kt-row-column-wrap {
	gap: 24px;
}


/* ==========================================================
   Card
   ========================================================== */

.nj-path-card {
	position: relative;

	min-height: 100%;

	background:
		linear-gradient(
			145deg,
			rgba(255, 255, 255, 0.92),
			rgba(245, 243, 238, 0.94)
		);

	border: 1px solid rgba(46, 94, 78, 0.12);
	border-radius: 18px;

	box-shadow:
		0 1px 1px rgba(43, 43, 43, 0.02),
		0 16px 38px rgba(43, 43, 43, 0.035);

	overflow: hidden;

	transition:
		transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 220ms ease,
		border-color 220ms ease;
}


/* Finom felső brand accent */
.nj-path-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;

	height: 3px;

	background:
		linear-gradient(
			90deg,
			#C89B3C 0%,
			rgba(200, 155, 60, 0.18) 72%,
			transparent 100%
		);
}


.nj-path-card > .kt-inside-inner-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;

	height: 100%;
	padding: 34px 32px 30px;
}


/* ==========================================================
   Icons
   Kadence Icon / Icon List kompatibilis
   ========================================================== */

.nj-path-card :is(
	.kt-svg-icon,
	.kb-svg-icon-wrap,
	.wp-block-kadence-icon
) {
	color: #2E5E4E;
}


.nj-path-card .kb-svg-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 46px;
	height: 46px;

	margin-bottom: 24px;

	border-radius: 14px;

	background: rgba(200, 155, 60, 0.13);
}


/* ==========================================================
   Card typography
   ========================================================== */

.nj-path-card h3 {
	margin: 0 0 14px;

	color: #144637;

	font-family: "Libre Caslon Text", Georgia, serif;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.22;

	letter-spacing: -0.015em;
}


.nj-path-card p {
	margin: 0 0 14px;

	color: rgba(43, 43, 43, 0.72);

	font-size: 15px;
	line-height: 1.65;
}


/* Az első paragraph legyen picit hangsúlyosabb */
.nj-path-card h3 + p {
	color: #404945;

	font-size: 16px;
	font-weight: 600;
	line-height: 1.55;
}


/* ==========================================================
   Bottom route link / button
   Nem primary CTA, ezért szándékosan nem amber button.
   ========================================================== */

.nj-path-card :is(
	.wp-block-buttons,
	.kb-buttons-wrap
) {
	margin-top: auto;
	padding-top: 18px;
}


.nj-path-card :is(
	.wp-block-button__link,
	.wp-element-button,
	.kb-button
) {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	min-height: auto;
	padding: 0;

	background: transparent !important;
	color: #2E5E4E !important;

	border: 0;
	border-radius: 0;

	box-shadow: none !important;

	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;

	text-decoration: none;

	transform: none;
}


.nj-path-card :is(
	.wp-block-button__link,
	.wp-element-button,
	.kb-button
)::after {
	content: "→";

	font-size: 17px;
	line-height: 1;

	transition: transform 180ms ease;
}


.nj-path-card :is(
	.wp-block-button__link,
	.wp-element-button,
	.kb-button
):hover {
	background: transparent !important;
	color: #144637 !important;

	box-shadow: none !important;
	transform: none;
}


.nj-path-card :is(
	.wp-block-button__link,
	.wp-element-button,
	.kb-button
):hover::after {
	transform: translateX(4px);
}


/* ==========================================================
   Card hover
   ========================================================== */

@media (hover: hover) {

	.nj-path-card:hover {
		transform: translateY(-5px);

		border-color: rgba(46, 94, 78, 0.20);

		box-shadow:
			0 2px 3px rgba(43, 43, 43, 0.02),
			0 22px 48px rgba(43, 43, 43, 0.075);
	}

}


/* ==========================================================
   Tablet
   ========================================================== */

@media (max-width: 1024px) {

	.nj-audience {
		padding: 88px 0 92px;
	}

	.nj-audience h2 + p {
		margin-bottom: 42px;
	}

	.nj-path-grid > .kt-row-column-wrap {
		gap: 18px;
	}

	.nj-path-card > .kt-inside-inner-col {
		padding: 30px 26px 28px;
	}

	.nj-path-card h3 {
		font-size: 25px;
	}

}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 767px) {

	.nj-audience {
		padding: 68px 0 72px;
	}

	.nj-audience .nj-section-eyebrow {
		margin-bottom: 12px;
	}

	.nj-audience h2 {
		margin-bottom: 16px;

		font-size: clamp(32px, 9vw, 38px);
		line-height: 1.16;
	}

	.nj-audience h2 + p {
		margin-bottom: 34px;

		font-size: 16px;
		line-height: 1.65;
	}


	.nj-path-grid > .kt-row-column-wrap {
		gap: 18px;
	}


	.nj-path-card {
		border-radius: 16px;
	}


	.nj-path-card > .kt-inside-inner-col {
		padding: 28px 24px 26px;
	}


	.nj-path-card .kb-svg-icon-wrap {
	width: 58px;
	height: 58px;

	margin-top: -6px;
	margin-bottom: 24px;

	border-radius: 16px;

	background:
		linear-gradient(
			145deg,
			rgba(200, 155, 60, 0.18),
			rgba(127, 167, 139, 0.12)
		);

	border: 1px solid rgba(200, 155, 60, 0.20);

	box-shadow:
		0 8px 20px rgba(43, 43, 43, 0.05);
}

	.nj-path-card .kb-svg-icon-wrap svg {
	width: 28px;
	height: 28px;
	color: #2E5E4E;
}

	.nj-path-card h3 {
		margin-bottom: 12px;

		font-size: 26px;
	}


	.nj-path-card p {
		font-size: 15px;
	}


	.nj-path-card h3 + p {
		font-size: 15px;
	}


	.nj-path-card :is(
		.wp-block-buttons,
		.kb-buttons-wrap
	) {
		padding-top: 12px;
	}

}

.nj-path-card {
	counter-increment: nj-path;
}

.nj-path-grid {
	counter-reset: nj-path;
}

.nj-path-card::after {
	content: "0" counter(nj-path);

	position: absolute;
	top: 24px;
	right: 26px;

	font-family: "Libre Caslon Text", Georgia, serif;
	font-size: 52px;
	font-weight: 400;
	line-height: 1;

	color: rgba(46, 94, 78, 0.055);

	pointer-events: none;
}

.nj-path-card::before {
	content: "";
	position: absolute;

	top: 0;
	left: 28px;

	width: 72px;
	height: 3px;

	border-radius: 0 0 3px 3px;

	background: #C89B3C;
}

.nj-audience h2 + p {
	margin-bottom: 38px;
}

.nj-audience {
	padding: 88px 0 104px;
}

.nj-path-card :is(
	.wp-block-button__link,
	.wp-element-button,
	.kb-button
) {
	position: relative;

	padding: 8px 0 6px;

	color: #2E5E4E !important;
	font-weight: 700;
}

.nj-path-card :is(
	.wp-block-button__link,
	.wp-element-button,
	.kb-button
)::before {
	content: "";

	position: absolute;
	left: 0;
	bottom: 0;

	width: 28px;
	height: 1px;

	background: #C89B3C;

	transition: width 180ms ease;
}

.nj-path-card:hover :is(
	.wp-block-button__link,
	.wp-element-button,
	.kb-button
)::before {
	width: 100%;
}

/* ==========================================================
   Path card icon
   ========================================================== */

.nj-path-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 58px !important;
	height: 58px !important;
	min-width: 58px;

	margin: 0 0 24px !important;

	border: 1px solid rgba(200, 155, 60, 0.20);
	border-radius: 16px;

	background:
		linear-gradient(
			145deg,
			rgba(200, 155, 60, 0.18),
			rgba(127, 167, 139, 0.12)
		);

	box-shadow:
		0 8px 20px rgba(43, 43, 43, 0.05);
}


/* Bármi legyen a Kadence belső SVG wrapper */
.nj-path-icon svg {
	width: 28px !important;
	height: 28px !important;

	color: #2E5E4E;
	fill: currentColor;
}


/* Kadence néha külön wrapperre tesz méretet */
.nj-path-icon > *,
.nj-path-icon span {
	display: flex;
	align-items: center;
	justify-content: center;

	margin: 0 !important;
	padding: 0 !important;
}

/* ==========================================================
   Path card action
   ========================================================== */

.nj-path-link {
	margin-top: auto !important;
	padding-top: 18px;
}


/* Ha a class a wrapperen van */
.nj-path-link a,
.nj-path-link button,

/* Ha közvetlenül a gombra került */
a.nj-path-link,
button.nj-path-link {
	position: relative;

	display: inline-flex;
	align-items: center;
	gap: 8px;

	min-height: auto !important;
	padding: 8px 0 7px !important;

	background: transparent !important;
	color: #2E5E4E !important;

	border: 0 !important;
	border-radius: 0 !important;

	box-shadow: none !important;

	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;

	text-decoration: none !important;

	transform: none !important;
}


/* Amber underline */
.nj-path-link a::before,
.nj-path-link button::before,
a.nj-path-link::before,
button.nj-path-link::before {
	content: "";

	position: absolute;
	left: 0;
	bottom: 0;

	width: 28px;
	height: 2px;

	background: #C89B3C;

	transition: width 180ms ease;
}


/* Hover */
.nj-path-card:hover .nj-path-link a::before,
.nj-path-card:hover .nj-path-link button::before,
.nj-path-card:hover a.nj-path-link::before,
.nj-path-card:hover button.nj-path-link::before {
	width: 100%;
}

@media (max-width: 767px) {

	.nj-audience > .kt-row-column-wrap {
		padding-left: 20px !important;
		padding-right: 20px !important;
		box-sizing: border-box;
	}

}