/* A distinct, process-led visual system for the Kampus learning-method page. */
:is(.portal-kind-method, .portal-kind-ethics) .method-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 22px 0 0;
	background: #003326;
	color: #fff;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero::before {
	position: absolute;
	z-index: -1;
	content: "";
	width: clamp(480px, 32vw, 640px);
	aspect-ratio: 1;
	top: 62%;
	left: clamp(12px, calc((100vw - 1440px) / 2 + 90px), 310px);
	transform: translateY(-50%);
	background: url("../brand/Campus_Institutionis_Privatae_Gold.svg") center / contain no-repeat;
	opacity: .045;
	pointer-events: none;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-breadcrumbs {
	position: relative;
	z-index: 1;
	margin-bottom: clamp(32px, 5vw, 60px);
	color: #c9d8cf;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-breadcrumbs a {
	color: #e4eee8;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-breadcrumbs [aria-current] {
	color: #e1c67f;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
	gap: clamp(34px, 6vw, 90px);
	align-items: start;
	padding-bottom: clamp(42px, 6vw, 72px);
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-copy {
	position: relative;
	z-index: 1;
	padding: 4px 0 10px;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-eyebrow {
	display: flex;
	align-items: center;
	gap: 13px;
	margin: 0 0 25px;
	color: #e5cd8e;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .15em;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-eyebrow-rule {
	display: block;
	width: 36px;
	height: 1px;
	background: #e5cd8e;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero h1 {
	max-width: 620px;
	margin: 0 0 23px;
	color: #fff;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(44px, 5.4vw, 72px);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -.025em;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-lead {
	max-width: 520px;
	margin: 0;
	color: #d7e5dc;
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.75;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 25px;
	margin-top: 32px;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-actions .button-primary {
	background: #d8bd76;
	color: #003326;
	box-shadow: none;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-actions .button-primary:hover {
	background: #ead79f;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-text-link {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #f3f6f3;
	font-size: 14px;
	font-weight: 700;
	text-decoration-color: rgba(243, 246, 243, .5);
	text-underline-offset: 5px;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-text-link span {
	color: #e5cd8e;
	font-size: 20px;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-visual {
	position: relative;
	min-width: 0;
	padding: 0 20px 30px 0;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-visual::before {
	position: absolute;
	content: "";
	inset: 18px 0 0 18px;
	border: 1px solid rgba(226, 204, 147, .72);
	pointer-events: none;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-photo {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1.22;
	object-fit: cover;
	object-position: 56% center;
	border: 8px solid #003326;
	box-shadow: 0 20px 55px rgba(0, 0, 0, .2);
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-stamp {
	position: absolute;
	z-index: 1;
	top: -25px;
	right: -18px;
	display: grid;
	justify-items: center;
	gap: 6px;
	width: 118px;
	padding: 13px 12px 11px;
	border: 1px solid #c9ad70;
	background: #003326;
	text-align: center;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-stamp img {
	display: block;
	width: 60px;
	height: 60px;
	object-fit: contain;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-stamp span {
	color: #e4cd91;
	font-size: 8px;
	font-weight: 900;
	letter-spacing: .12em;
	line-height: 1.55;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-caption {
	position: absolute;
	left: 22px;
	bottom: 44px;
	max-width: calc(100% - 60px);
	margin: 0;
	padding: 11px 15px;
	background: #fff;
	color: #003326;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path {
	display: grid;
	grid-template-columns: 190px 1fr;
	align-items: center;
	gap: 26px;
	padding: 20px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, .22);
}

:is(.portal-kind-method, .portal-kind-ethics) .method-path-label {
	color: #e5cd8e;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .16em;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path ol {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path--compact { grid-template-columns: 1fr; }
:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path--compact ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path li a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: #f3f6f3;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path li a:hover {
	color: #e5cd8e;
	text-decoration: underline;
	text-underline-offset: 4px;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path li a:focus-visible {
	outline: 2px solid #e5cd8e;
	outline-offset: 2px;
}

:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path li a span {
	color: #d7bd78;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 19px;
}

.portal-kind-method .portal-content {
	max-width: 1280px;
	padding-top: clamp(58px, 8vw, 102px);
	padding-bottom: clamp(64px, 8vw, 110px);
}

.portal-kind-method .portal-section {
	position: relative;
	margin-bottom: clamp(70px, 9vw, 118px);
}

.portal-kind-method .portal-section:last-child {
	margin-bottom: 0;
}

.portal-kind-method .portal-section > h2 {
	max-width: 820px;
	font-size: clamp(32px, 3.5vw, 46px);
	line-height: 1.12;
}

.portal-kind-method .method-section-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 17px;
	color: #267650;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .14em;
}

.portal-kind-method .method-section-kicker::after {
	content: "";
	width: 34px;
	height: 1px;
	background: #b18a40;
}

.portal-kind-method #punkt-wyjscia {
	padding: clamp(30px, 5vw, 60px);
	border-top: 1px solid #d8e6dc;
	border-bottom: 1px solid #d8e6dc;
	background: linear-gradient(105deg, #f2f8f4 0%, #fff 75%);
}

.portal-kind-method .method-opening {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 170px;
	gap: 36px;
	align-items: center;
}

.portal-kind-method .method-opening .method-section-kicker {
	grid-column: 1 / -1;
	margin-bottom: -18px;
}

.portal-kind-method .method-opening > p:not(.method-section-kicker) {
	max-width: 790px;
	margin: 0;
	color: #314a3e;
	font-size: clamp(17px, 1.8vw, 21px);
	line-height: 1.8;
}

.portal-kind-method .method-opening-signature {
	display: grid;
	justify-items: center;
	gap: 11px;
	padding: 14px;
	border-left: 1px solid #d2e0d6;
	text-align: center;
}

.portal-kind-method .method-opening-signature img {
	display: block;
	width: 74px;
	height: 74px;
	object-fit: contain;
	opacity: .72;
}

.portal-kind-method .method-opening-signature span {
	color: #476254;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 15px;
	line-height: 1.45;
}

.portal-kind-method #etapy > h2 {
	margin-bottom: 15px;
}

.portal-kind-method .method-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 30px 0 0;
	padding: 0;
	border-top: 1px solid #d8e4dc;
	border-bottom: 1px solid #d8e4dc;
	list-style: none;
}

.portal-kind-method .method-steps li {
	position: relative;
	min-height: 235px;
	padding: 24px 22px 26px;
	background: #fff;
}

.portal-kind-method .method-steps li + li {
	border-left: 1px solid #d8e4dc;
}

.portal-kind-method .method-step-number {
	display: block;
	margin-bottom: 28px;
	color: #b18a40;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 32px;
	line-height: 1;
}

.portal-kind-method .method-steps h3 {
	margin: 0 0 10px;
	color: #003326;
	font-size: 21px;
}

.portal-kind-method .method-steps p {
	margin: 0;
	color: #52685e;
	font-size: 14px;
	line-height: 1.7;
}

.portal-kind-method #lekcja-online {
	padding: clamp(30px, 5vw, 58px);
	border-left: 3px solid #c7a45c;
	background: #f1f8f3;
}

.portal-kind-method #lekcja-online > h2 {
	max-width: 760px;
}

.portal-kind-method .method-online-intro {
	max-width: 820px;
	margin: 0 0 30px;
	color: #425a4e;
	font-size: 16px;
	line-height: 1.8;
}

.portal-kind-method .method-lesson-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.portal-kind-method .method-lesson-points article {
	min-height: 190px;
	padding: 24px;
	border: 1px solid #d8e6dc;
	background: #fff;
}

.portal-kind-method .method-lesson-points article::before {
	display: block;
	margin-bottom: 20px;
	color: #a47e36;
	content: counter(method-point, decimal-leading-zero);
	counter-increment: method-point;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 25px;
	line-height: 1;
}

.portal-kind-method .method-lesson-points h3 {
	margin: 0 0 8px;
	color: #003326;
	font-size: 19px;
}

.portal-kind-method .method-lesson-points p {
	margin: 0;
	color: #52685e;
	font-size: 14px;
	line-height: 1.65;
}

.portal-kind-method #postep {
	overflow: hidden;
	padding: clamp(30px, 5vw, 58px);
	background: #003326;
	color: #fff;
}

.portal-kind-method #postep::after {
	position: absolute;
	content: "";
	width: 300px;
	height: 300px;
	right: -75px;
	top: -90px;
	background: url("../brand/Campus_Institutionis_Privatae_Gold.svg") center / contain no-repeat;
	opacity: .1;
	pointer-events: none;
}

.portal-kind-method #postep > h2,
.portal-kind-method #postep > p {
	position: relative;
	z-index: 1;
	color: #fff;
}

.portal-kind-method #postep > h2 {
	max-width: 720px;
}

.portal-kind-method #postep .method-section-kicker {
	color: #e5cd8e;
}

.portal-kind-method .method-progress-intro {
	max-width: 760px;
	margin: 0 0 28px;
	color: #d7e5dc !important;
	line-height: 1.75;
}

.portal-kind-method .method-progress-points {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, .28);
	border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.portal-kind-method .method-progress-points > div {
	padding: 23px 22px 24px 0;
}

.portal-kind-method .method-progress-points > div + div {
	padding-left: 22px;
	border-left: 1px solid rgba(255, 255, 255, .22);
}

.portal-kind-method .method-progress-points .method-metric-number {
	margin: 0 0 14px;
	display: block;
	margin-bottom: 14px;
	color: #e5cd8e;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 25px;
}

.portal-kind-method .method-progress-points strong {
	display: block;
	margin-bottom: 8px;
	color: #fff;
	font-size: 17px;
}

.portal-kind-method .method-progress-points p {
	margin: 0;
	color: #d7e5dc;
	font-size: 13px;
	line-height: 1.65;
}

.portal-kind-method #narzedzia .portal-card-grid {
	gap: 16px;
	margin-top: 25px;
}

.portal-kind-method #narzedzia .portal-card {
	min-height: 220px;
	padding: 26px;
	border: 1px solid #d8e6dc;
	border-top: 3px solid #218057;
	border-radius: 2px;
	background: #fff;
}

.portal-kind-method #narzedzia .portal-card h3 {
	margin-top: 0;
	color: #003326;
	font-size: 22px;
}

.portal-kind-method #narzedzia .portal-card-action {
	border-top: 1px solid #e1ebe4;
	color: #18764f;
}

.portal-kind-method .portal-cta {
	position: relative;
	background: #f0f7f2;
}

.portal-kind-method .portal-cta::after {
	position: absolute;
	content: "";
	width: 170px;
	height: 170px;
	right: 6%;
	bottom: -80px;
	background: url("../brand/Campus_Institutionis_Privatae_Green.svg") center / contain no-repeat;
	opacity: .08;
	pointer-events: none;
}

.portal-kind-method .portal-cta-inner {
	position: relative;
	z-index: 1;
}

@media (max-width: 900px) {
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero h1 { font-size: clamp(42px, 6vw, 58px); }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path { grid-template-columns: 1fr; gap: 14px; }
	.portal-kind-method .method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.portal-kind-method .method-steps li:nth-child(3) { border-left: 0; border-top: 1px solid #d8e4dc; }
	.portal-kind-method .method-steps li:nth-child(4) { border-top: 1px solid #d8e4dc; }
}

@media (max-width: 650px) {
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero { padding-top: 18px; }
	:is(.portal-kind-method, .portal-kind-ethics) .method-breadcrumbs { margin-bottom: 30px; }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-grid { grid-template-columns: 1fr; gap: 38px; padding-bottom: 38px; }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero h1 { font-size: clamp(42px, 12vw, 56px); }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-visual { margin: 0 16px 0 0; padding: 0 13px 20px 0; }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-visual::before { inset: 12px 0 0 12px; }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-photo { aspect-ratio: 1.12; border-width: 6px; }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-stamp { width: 92px; top: -18px; right: -12px; padding: 9px; }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-stamp img { width: 47px; height: 47px; }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-caption { left: 14px; bottom: 31px; max-width: calc(100% - 42px); }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 15px; }
	:is(.portal-kind-method, .portal-kind-ethics) .method-hero-path--compact ol { grid-template-columns: 1fr; }
	.portal-kind-method .method-opening { grid-template-columns: 1fr; gap: 22px; }
	.portal-kind-method .method-opening .method-section-kicker { grid-column: auto; margin-bottom: -12px; }
	.portal-kind-method .method-opening-signature { justify-self: start; grid-template-columns: 54px 1fr; justify-items: start; align-items: center; padding: 0; border-left: 0; text-align: left; }
	.portal-kind-method .method-opening-signature img { width: 54px; height: 54px; }
	.portal-kind-method .method-steps { grid-template-columns: 1fr; }
	.portal-kind-method .method-steps li { min-height: 0; padding: 20px 16px; }
	.portal-kind-method .method-steps li + li { border-left: 0; border-top: 1px solid #d8e4dc; }
	.portal-kind-method .method-step-number { margin-bottom: 14px; font-size: 26px; }
	.portal-kind-method .method-lesson-points,
	.portal-kind-method .method-progress-points { grid-template-columns: 1fr; }
	.portal-kind-method .method-lesson-points article { min-height: 0; }
	.portal-kind-method .method-progress-points > div,
	.portal-kind-method .method-progress-points > div + div { padding: 18px 0; border-left: 0; }
	.portal-kind-method #punkt-wyjscia,
	.portal-kind-method #lekcja-online,
	.portal-kind-method #postep { padding: 26px 20px; }
	.portal-kind-method #postep::after { width: 210px; height: 210px; right: -85px; top: -55px; }
}
