/* ----------------------------------------------------------
   Homepage Figma implementation pass
   Grounded on frame 622:776 from Figma dev mode.
   ---------------------------------------------------------- */

html:has(body.home),
body.home {
	--home-max-width: 1520px;
	--home-frame-width: 1600px;
	--home-gutter: clamp(20px, 1.323vw + 14.84px, 40px);
	--home-gap-wide: clamp(44px, 7.507vw + 14.72px, 155px);
	--home-gap-medium: clamp(20px, 0.579vw + 17.74px, 27px);
	--home-gap-large: clamp(40px, 7.19vw + 11.95px, 127px);
	--home-section-1-meta-gap: clamp(18px, calc(13.1182px + 0.4926vw), 21px);
	--home-section-2-top-gap: clamp(44px, calc(3.3186px + 4.1051vw), 69px);
	--home-section-3-top-gap: clamp(20px, calc(6.25vw), 120px);
	--home-section-4-top-gap: clamp(19.8px, calc(6.1875vw), 118.8px);
	--home-section-4-content-gap: clamp(12px, calc(3.75vw), 72px);
	--home-section-4-title-body-gap: clamp(4.6px, calc(1.4375vw), 27.6px);
	--home-section-4-body-button-gap: clamp(8px, calc(2.5vw), 48px);
	--home-section-4-bottom-gap: clamp(16px, calc(5vw), 96px);
	--home-section-5-min-height: clamp(120px, calc(37.5vw), 720px);
	--home-section-5-top-pad: clamp(33.2px, calc(10.375vw), 199.2px);
	--home-section-5-bottom-pad: clamp(33px, calc(10.3125vw), 198px);
	--home-section-5-title-text-gap: clamp(8px, calc(2.5vw), 48px);
	--home-section-5-text-button-gap: clamp(10px, calc(3.125vw), 60px);
	--home-section-6-top-gap: clamp(16px, calc(5vw), 80px);
	--home-section-6-title-text-gap: clamp(4.6px, calc(1.4375vw), 27.6px);
	--home-section-6-copy-logos-gap: clamp(15.8px, calc(4.9375vw), 94.8px);
	--home-section-6-logo-row-gap: clamp(15px, calc(4.6875vw), 90px);
	--home-section-6-logos-line-gap: clamp(20.2px, calc(6.3125vw), 121.2px);
	--home-section-6-logo-1-width: clamp(19.8px, calc(6.1875vw), 118.8px);
	--home-section-6-logo-2-width: clamp(22.8px, calc(7.125vw), 136.8px);
	--home-section-6-logo-3-width: clamp(22.2px, calc(6.9375vw), 133.2px);
	--home-section-6-logo-4-width: clamp(31.4px, calc(9.8125vw), 188.4px);
	--home-section-6-logo-5-width: clamp(26.8px, calc(8.375vw), 160.8px);
	--home-section-6-logo-6-width: clamp(25.6px, calc(8vw), 153.6px);
	--home-section-6-logo-7-width: clamp(23.2px, calc(7.25vw), 139.2px);
	--home-section-6-logo-8-width: clamp(29px, calc(9.0625vw), 174px);
	--home-section-6-logo-9-width: clamp(13.4px, calc(4.1875vw), 80.4px);
	--home-section-6-logo-10-width: clamp(22.2px, calc(6.9375vw), 133.2px);
	--home-section-6-logo-11-width: clamp(27.6px, calc(8.625vw), 165.6px);
	--home-section-6-logo-12-width: clamp(20.2px, calc(6.3125vw), 121.2px);
	--home-section-consult-top-gap: clamp(20px, calc(6.25vw), 120px);
	--home-section-consult-bottom-gap: clamp(18px, calc(5.625vw), 108px);
	--home-section-consult-title-text-gap: clamp(8px, calc(2.5vw), 48px);
	--home-section-consult-text-button-gap: clamp(10px, calc(3.125vw), 60px);
	--home-footer-top-pad: clamp(13px, calc(4.0625vw), 78px);
	--home-footer-content-nav-gap: clamp(17.6px, calc(5.5vw), 105.6px);
	--home-footer-left-gap: clamp(10px, calc(3.125vw), 60px);
	--home-footer-stack-gap: clamp(8px, calc(2.5vw), 48px);
	--home-button-fill-red: #fe4a32;
	--home-button-fill-orange: #ff8737;
	--home-button-fill-yellow: #ffd84d;
	--home-button-fill-blue: #78cfff;
	--home-button-fill-indigo: #7a84ff;
	--home-pill-radius: 999px;
	--home-ink: #101010;
	--home-accent: #fe3344;
	--home-hero: #fe4a32;
	--home-ui-fg: #101010;
	--home-ui-border: rgba(16, 16, 16, 0.92);
	--home-ui-code: #fe3334;
	--home-spectrum-current: #fe4a32;
	--home-transition: 380ms cubic-bezier(0.22, 1, 0.36, 1);
	--home-fixed-nav-space: calc(77px + var(--home-bottom-offset, 0px));
	background: #fff;
	margin: 0 !important;
	padding: 0;
	scroll-behavior: smooth;
	overflow-x: clip;
}

body.home .elastic-fields,
body.home #hero.section {
	margin: 0;
}

body.home .section-width,
body.home .home-top-controls .section-width,
body.home .footer-wrapper .section-width,
body.home .header.home-bottom-nav {
	width: min(calc(100% - (2 * var(--home-gutter))), var(--home-max-width));
	margin-inline: auto;
	padding-inline: 0;
}

body.home .home-top-controls {
	position: fixed;
	top: 40px;
	left: 0;
	right: 0;
	z-index: 48;
	pointer-events: none;
}

body.home .home-top-controls .section-width {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	pointer-events: auto;
}

body.home .home-top-right {
	display: flex;
	align-items: center;
	gap: 0;
}

body.home .home-ui-pill,
body.home .section .button-section a,
body.home .footer-wrapper .button-section a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 20px 30px;
	border: 1px solid var(--home-ui-border);
	border-radius: var(--home-pill-radius);
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(6px);
	color: var(--home-ui-fg);
	font-family: inherit;
	font-size: clamp(15px, 0.083vw + 14.68px, 17px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-decoration: none;
	overflow: hidden;
	transition:
		color var(--home-transition),
		border-color var(--home-transition),
		background-color var(--home-transition),
		box-shadow var(--home-transition),
		transform var(--home-transition);
	isolation: isolate;
}

body.home .home-ui-pill::before,
body.home .section .button-section a::before,
body.home .footer-wrapper .button-section a::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	background-color: var(--home-button-fill-red);
	opacity: 0;
	transform: scale(1.04);
	transition:
		opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
	z-index: -1;
}

body.home .home-ui-pill:hover,
body.home .home-ui-pill.is-active,
body.home .home-ui-pill:focus-visible,
body.home .section .button-section a:hover,
body.home .section .button-section a:focus-visible,
body.home .footer-wrapper .button-section a:focus-visible,
body.home .footer-wrapper .button-section a:hover {
	color: var(--home-ui-fg);
	border-color: transparent;
	box-shadow: none;
	transform: none;
}

body.home .home-ui-pill:hover::before,
body.home .home-ui-pill.is-active::before,
body.home .home-ui-pill:focus-visible::before,
body.home .section .button-section a:hover::before,
body.home .section .button-section a:focus-visible::before,
body.home .footer-wrapper .button-section a:focus-visible::before,
body.home .footer-wrapper .button-section a:hover::before {
	opacity: 1;
	transform: scale(1);
	animation: k404-button-fill-sequence 9s linear infinite;
}

body.home :is(#section-1.section, #section-3.section, #section-4.section, #section-5.section, #section-consultation.section, #section-10.section) .button-section a:hover,
body.home :is(#section-1.section, #section-3.section, #section-4.section, #section-5.section, #section-consultation.section, #section-10.section) .button-section a:focus-visible {
	background: transparent;
	color: var(--home-ui-fg);
	border-color: transparent;
	box-shadow: none;
}

body.home .home-top-left .home-ui-pill {
	min-width: 202px;
}

body.home .home-top-right .home-ui-pill:nth-child(1) {
	min-width: 152px;
}

body.home .home-top-right .home-ui-pill:nth-child(2) {
	min-width: 96px;
}

body.home .home-top-right .home-ui-pill:nth-child(3) {
	min-width: 138px;
}

body.home .home-top-right .home-ui-pill + .home-ui-pill {
	margin-left: -1px;
}

body.home .header-wrapper-home {
	position: fixed;
	left: 0;
	right: 0;
	bottom: max(0px, var(--home-bottom-offset, 0px));
	z-index: 44;
}

body.home .header.home-bottom-nav {
	display: grid;
	grid-template-columns: 330px minmax(0, 1fr) 437px;
	align-items: center;
	height: 77px;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(16px);
	border-top: 1px solid rgba(16, 16, 16, 0.12);
}

body.home .menu-home {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.home .menu-home li {
	margin: 0;
	padding: 0;
}

body.home .menu-home a,
body.home .home-socials a,
body.home .home-socials span,
body.home .site-mark {
	color: var(--home-ui-fg);
	text-decoration: none;
	transition: color var(--home-transition), opacity var(--home-transition), transform var(--home-transition);
}

body.home .menu-home a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding-left: 20px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

body.home .menu-home a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #fe3334, #ff7b67);
	transform: translateY(-50%);
	transition: width var(--home-transition);
}

body.home .menu-home a:hover::before,
body.home .menu-home a.is-active::before {
	width: 12px;
}

body.home .menu-home a:hover,
body.home .menu-home a.is-active {
	color: #000;
}

body.home .site-mark {
	justify-self: center;
	font-family: "Bricolage Grotesque", sans-serif;
	font-size: 25px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
}

body.home .home-socials {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 40px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

body.home .home-socials a:hover {
	color: #fe3334;
}

body.home .header-code {
	color: #101010;
	font-variant-numeric: tabular-nums;
}

body.home #hero.section {
	padding: 0;
	background: var(--home-hero);
	color: #101010;
}

body.home #hero.section .section-width {
	width: min(100%, var(--home-frame-width));
}

body.home #hero.section .section-content {
	min-height: clamp(620px, 56.25vw, 900px);
	padding: clamp(132px, 11vw, 168px) var(--home-gutter) 96px;
	display: flex;
	align-items: flex-start;
}

body.home #hero .hero-billboard {
	width: min(100%, 1180px);
}

body.home #hero .hero-billboard h1 {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	font-size: clamp(78px, 7.273vw + 49.64px, 184px);
	font-weight: 900;
	line-height: 0.82;
	letter-spacing: -0.12em;
	text-transform: uppercase;
}

body.home #hero .hero-billboard h1 span {
	display: block;
}

body.home #section-1.section,
body.home #section-2.section,
body.home #section-3.section,
body.home #section-4.section,
body.home #section-6.section,
body.home #section-consultation.section,
body.home #section-10.section {
	background: #fff;
}

body.home #section-1.section {
	padding: clamp(56px, 4.629vw + 37.95px, 112px) 0 clamp(96px, 6.613vw + 70.21px, 176px);
}

body.home #section-1.section .section-content {
	display: grid;
	grid-template-columns: minmax(0, 878px) minmax(320px, 487px);
	column-gap: var(--home-gap-wide);
	align-items: start;
}

body.home #section-1.section .col-left .text-editor {
	max-width: 878px;
}

body.home #section-1.section .col-left .text-editor p,
body.home #section-2.section .text-editor p,
body.home #section-3.section .text-editor p,
body.home #section-5.section .text-editor p,
body.home #section-consultation.section .text-editor p {
	font-size: clamp(22px, 0.661vw + 19.42px, 30px);
	line-height: 1.3;
	letter-spacing: -0.02em;
}

body.home #section-1.section .button-section {
	margin-top: 50px;
}

body.home #section-1.section .button-section a {
	min-width: 252px;
}

body.home #section-1.section .slider {
	width: min(100%, 487px);
	max-width: 487px;
}

body.home #section-1.section .slider .image-wrapper {
	aspect-ratio: 487 / 553;
	overflow: hidden;
	background: #efefef;
}

body.home #section-1.section .slider .image-wrapper img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.home #section-1.section .slider .slider-meta {
	margin-top: 25px;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

body.home #section-1.section .slider .podpis h5 {
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

body.home #section-1.section .slider .dopisek {
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: rgba(16, 16, 16, 0.66);
}

body.home #section-1.section .slider .dopisek span::before {
	content: "[";
	margin-right: 3px;
}

body.home #section-1.section .slider .dopisek span::after {
	content: "]";
	margin-left: 3px;
}

body.home #section-2.section {
	padding: clamp(64px, 5.289vw + 43.37px, 128px) 0 0;
}

body.home #section-2.section .section-width {
	border-top: 1px solid rgba(16, 16, 16, 0.16);
	padding-top: 80px;
}

body.home #section-2.section .section-content {
	display: grid;
	grid-template-columns: minmax(0, 878px) 224px;
	grid-template-areas:
		"left right"
		"posts posts";
	column-gap: var(--home-gap-wide);
	row-gap: 60px;
}

body.home #section-2.section .section-content.no-posts {
	grid-template-areas: "left right";
}

body.home #section-2.section .col-left {
	grid-area: left;
	max-width: 878px;
}

body.home #section-2.section .support-wrapper,
body.home #section-4.section .support-wrapper {
	display: flex;
	align-items: baseline;
	gap: 15px;
}

body.home #section-2.section .title-wrapper h2,
body.home #section-4.section .title-wrapper h2,
body.home #section-5.section .title-wrapper h2,
body.home #section-consultation.section .title-wrapper h2,
body.home #section-10.section .title-wrapper h2 {
	margin: 0;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

body.home #section-2.section .dopisek,
body.home #section-4.section .dopisek,
body.home #section-10.section .dopisek {
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: rgba(16, 16, 16, 0.66);
}

body.home #section-2.section .text-editor {
	margin-top: 40px;
	max-width: 878px;
}

body.home #section-2.section .col-right {
	grid-area: right;
	display: grid;
	align-content: start;
	justify-items: end;
	row-gap: 20px;
}

body.home #section-2.section .col-right .button-section:first-child a {
	min-width: 168px;
}

body.home #section-2.section .col-right .button-section:last-child a {
	min-width: 224px;
}

body.home #section-2.section .posts {
	grid-area: posts;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 745px));
	gap: 30px;
}

body.home #section-2.section .post-item {
	display: grid;
	row-gap: 20px;
}

body.home #section-2.section .post-thumbnail {
	position: relative;
	overflow: hidden;
}

body.home #section-2.section .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 745 / 409;
	object-fit: cover;
}

body.home #section-2.section .post-category {
	position: static;
	margin-top: 20px;
}

body.home #section-2.section .post-category .support-wrapper {
	gap: 6px;
}

body.home #section-2.section .post-category a {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
	color: var(--home-ink);
}

body.home #section-2.section .meta {
	display: block !important;
	padding: 0;
}

body.home #section-2.section .post-title h5 {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: rgba(16, 16, 16, 0.66);
}

body.home #section-3.section {
	padding: var(--home-section-3-top-gap) 0 0;
}

body.home #section-3.section .section-content {
	display: grid;
	grid-template-columns: minmax(0, 878px);
	width: min(100%, 878px);
	max-width: 878px;
	justify-content: start;
	row-gap: 50px;
}

body.home #section-3.section .text-editor {
	width: min(100%, 878px);
	max-width: 878px;
}

body.home #section-3.section .text-editor p {
	margin: 0;
	width: 100%;
	max-width: none;
	font-size: clamp(20px, 1.378vw + 14.63px, 30px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

body.home #section-3.section .button-section a {
	min-width: 207px;
}

body.home #section-4.section {
	padding: var(--home-section-4-top-gap) 0 var(--home-section-4-bottom-gap);
}

body.home #section-4.section .section-content {
	display: grid;
	row-gap: var(--home-section-4-content-gap);
}

body.home #section-4.section .columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 490px));
	gap: clamp(20px, 0.579vw + 17.74px, 27px);
}

body.home #section-4.section .col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	row-gap: 0;
}

body.home #section-4.section .nazwa h4 {
	margin: 0;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

body.home #section-4.section .col .text-editor p,
body.home #section-6.section .text-editor p,
body.home #section-10.section .text-editor p,
body.home .footer-wrapper .col-right p,
body.home .footer-wrapper .col-center p {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

body.home #section-4.section .support-wrapper {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	column-gap: 15px;
	row-gap: 8px;
	width: min(100%, 729px);
	max-width: 729px;
}

body.home #section-4.section .dopisek,
body.home #section-4.section .dopisek p {
	margin: 0;
}

body.home #section-4.section .dopisek {
	padding-top: 2px;
	white-space: nowrap;
	color: var(--home-button-fill-red);
	animation: k404-copy-sequence 10s linear infinite;
	animation-delay: -2.5s;
}

body.home #section-4.section .col .text-editor {
	margin-top: var(--home-section-4-title-body-gap);
}

body.home #section-4.section .button-section {
	margin-top: var(--home-section-4-body-button-gap);
}

body.home #section-4.section .button-section a {
	min-width: 207px;
}

body.home #section-5.section,
body.home #section-consultation.section {
	padding: 0;
}

body.home #section-5.section .section-width,
body.home #section-consultation.section .section-width {
	width: min(100%, var(--home-frame-width));
}

body.home #section-5.section .section-content,
body.home #section-consultation.section .section-content {
	min-height: 600px;
	padding: 120px var(--home-gutter);
	display: grid;
	justify-items: center;
	align-content: center;
	row-gap: 40px;
	background: var(--home-accent);
	text-align: center;
}

body.home #section-5.section .title-wrapper,
body.home #section-consultation.section .title-wrapper,
body.home #section-5.section .text-editor,
body.home #section-consultation.section .text-editor {
	width: min(100%, 1004px);
}

body.home #section-5.section .button-section a {
	min-width: 223px;
}

body.home #section-consultation.section .button-section a {
	min-width: 186px;
}

body.home #section-5.section .section-width {
	width: 100%;
	max-width: none;
}

body.home #section-5.section .section-content {
	width: 100%;
	min-height: var(--home-section-5-min-height);
	padding: var(--home-section-5-top-pad) var(--home-gutter) var(--home-section-5-bottom-pad);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	row-gap: 0;
	background-color: var(--home-spectrum-current);
	animation: none;
	text-align: center;
}

body.home #section-5.section .title-wrapper,
body.home #section-5.section .text-editor {
	width: min(100%, 1004px);
}

body.home #section-5.section .text-editor {
	margin-top: var(--home-section-5-title-text-gap);
}

body.home #section-5.section .text-editor p {
	margin: 0;
}

body.home #section-5.section .button-section {
	margin-top: var(--home-section-5-text-button-gap);
}

body.home #section-consultation.section {
	background: #fff;
}

body.home #section-consultation.section .section-width {
	width: min(calc(100% - (2 * var(--home-gutter))), var(--home-max-width));
	max-width: var(--home-max-width);
}

body.home #section-consultation.section .section-content {
	width: min(100%, 1004px);
	min-height: 0;
	margin-inline: auto;
	padding: var(--home-section-consult-top-gap) 0 var(--home-section-consult-bottom-gap);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	row-gap: 0;
	background: transparent;
	animation: none;
	text-align: center;
}

body.home #section-consultation.section .title-wrapper,
body.home #section-consultation.section .text-editor {
	width: min(100%, 1004px);
}

body.home #section-consultation.section .text-editor {
	margin-top: var(--home-section-consult-title-text-gap);
}

body.home #section-consultation.section .text-editor p {
	margin: 0;
}

body.home #section-consultation.section .button-section {
	margin-top: var(--home-section-consult-text-button-gap);
}

body.home #section-6.section {
	padding: var(--home-section-6-top-gap) 0 0;
}

body.home #section-6.section .section-width {
	border-top: 0;
	border-bottom: 1px solid rgba(16, 16, 16, 0.16);
	padding-top: 0;
	padding-bottom: var(--home-section-6-logos-line-gap);
}

body.home #section-6.section .section-content {
	display: block;
	width: 100%;
}

body.home #section-6.section .title-wrapper {
	width: min(100%, 487px);
}

body.home #section-6.section .title-wrapper h2 {
	margin: 0;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

body.home #section-6.section .text-editor {
	width: min(100%, 487px);
	max-width: 487px;
	margin-top: var(--home-section-6-title-text-gap);
}

body.home #section-6.section .text-editor p {
	margin: 0;
}

body.home #section-6.section .loga {
	display: grid;
	grid-template-columns: repeat(6, max-content);
	width: 100%;
	margin-top: var(--home-section-6-copy-logos-gap);
	justify-content: space-between;
	justify-items: center;
	align-items: center;
	row-gap: var(--home-section-6-logo-row-gap);
	column-gap: 0;
}

body.home #section-6.section .logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0;
	background: transparent;
}

body.home #section-6.section .logo img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: none;
}

body.home #section-6.section .logo:nth-child(1) {
	width: var(--home-section-6-logo-1-width);
}

body.home #section-6.section .logo:nth-child(2) {
	width: var(--home-section-6-logo-2-width);
}

body.home #section-6.section .logo:nth-child(3) {
	width: var(--home-section-6-logo-3-width);
}

body.home #section-6.section .logo:nth-child(4) {
	width: var(--home-section-6-logo-4-width);
}

body.home #section-6.section .logo:nth-child(5) {
	width: var(--home-section-6-logo-5-width);
}

body.home #section-6.section .logo:nth-child(6) {
	width: var(--home-section-6-logo-6-width);
}

body.home #section-6.section .logo:nth-child(7) {
	width: var(--home-section-6-logo-7-width);
}

body.home #section-6.section .logo:nth-child(8) {
	width: var(--home-section-6-logo-8-width);
}

body.home #section-6.section .logo:nth-child(9) {
	width: var(--home-section-6-logo-9-width);
}

body.home #section-6.section .logo:nth-child(10) {
	width: var(--home-section-6-logo-10-width);
}

body.home #section-6.section .logo:nth-child(11) {
	width: var(--home-section-6-logo-11-width);
}

body.home #section-6.section .logo:nth-child(12) {
	width: var(--home-section-6-logo-12-width);
}

body.home #section-10.section {
	padding: 0 0 clamp(92px, 7.107vw + 64.28px, 178px);
}

body.home #section-10.section .section-content {
	display: grid;
	grid-template-columns: minmax(0, 878px) 224px;
	grid-template-areas:
		"left right"
		"posts posts";
	column-gap: var(--home-gap-wide);
	row-gap: 60px;
}

body.home #section-10.section .col-top {
	display: contents;
}

body.home #section-10.section .support-wrapper {
	grid-area: left;
	display: flex;
	align-items: baseline;
	gap: 15px;
	max-width: 878px;
}

body.home #section-10.section .button-section {
	grid-area: right;
	justify-self: end;
}

body.home #section-10.section .button-section a {
	min-width: 224px;
}

body.home #section-10.section .posts {
	grid-area: posts;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 745px));
	gap: 30px;
}

body.home #section-10.section .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 745 / 409;
	object-fit: cover;
}

body.home #section-10.section .post-category {
	margin-top: 20px;
}

body.home #section-10.section .post-title h4 {
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

body.home .footer-wrapper {
	position: relative;
	padding: var(--home-footer-top-pad) 0 calc(var(--home-footer-content-nav-gap) + var(--home-fixed-nav-space));
	background-color: var(--home-spectrum-current);
	animation: none;
	overflow: hidden;
	isolation: isolate;
}

body.home .footer-wrapper .section-width {
	position: relative;
	z-index: 1;
}

body.home .footer-wrapper .section-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.home .footer-wrapper .columns {
	display: grid;
	grid-template-columns: minmax(280px, 399px) 192px minmax(320px, 487px);
	justify-content: space-between;
	column-gap: 0;
	row-gap: 0;
	align-items: start;
}

body.home .footer-wrapper .col-left {
	width: min(100%, 399px);
	margin: 0;
	display: grid;
	align-content: start;
	row-gap: var(--home-footer-left-gap);
}

body.home .footer-wrapper .col-left > * {
	margin: 0;
}

body.home .footer-wrapper .col-left > p {
	display: none;
}

body.home .footer-wrapper .col-left h3 {
	margin: 0;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

body.home .footer-wrapper .col-left p {
	margin: 0;
}

body.home .footer-wrapper .col-center {
	width: 192px;
	margin: 0;
	display: grid;
	align-content: start;
	row-gap: var(--home-footer-stack-gap);
	padding-top: 0;
}

body.home .footer-wrapper .col-right {
	width: min(100%, 487px);
	margin: 0;
	display: grid;
	align-content: start;
	justify-items: start;
	row-gap: var(--home-footer-stack-gap);
	padding-top: 0;
}

body.home .footer-wrapper .col-right .text-editor {
	margin: 0;
	width: min(100%, 487px);
}

body.home .footer-wrapper .button-section {
	margin: 0;
}

body.home .footer-wrapper .button-section a {
	min-width: 202px;
}

body.home .home-top-controls,
body.home .header-wrapper-home,
body.home .section .button-section a,
body.home .menu-home a,
body.home .home-socials a,
body.home .home-ui-pill {
	cursor: pointer;
}

@media (max-width: 991px) {
	body.home {
		--home-fixed-nav-space: calc(72px + var(--home-bottom-offset, 0px));
	}

	body.home .home-top-controls {
		top: 18px;
	}

	body.home .home-top-controls .section-width {
		display: grid;
		grid-template-columns: 1fr;
		row-gap: 10px;
	}

	body.home .home-top-left,
	body.home .home-top-right {
		display: flex;
		overflow-x: auto;
		gap: 10px;
	}

	body.home .home-top-right .home-ui-pill + .home-ui-pill {
		margin-left: 0;
	}

	body.home .home-top-left .home-ui-pill,
	body.home .home-top-right .home-ui-pill {
		min-width: max-content;
	}

	body.home .header.home-bottom-nav {
		grid-template-columns: 1fr;
		height: auto;
		padding: 14px var(--home-gutter);
		row-gap: 10px;
	}

	body.home .header.home-bottom-nav .col-left,
	body.home .header.home-bottom-nav .col-center,
	body.home .header.home-bottom-nav .col-right {
		width: 100%;
	}

	body.home .header.home-bottom-nav .col-center {
		order: -1;
		display: flex;
		justify-content: flex-start;
	}

	body.home .menu-home,
	body.home .home-socials {
		overflow-x: auto;
	}

	body.home .home-socials {
		justify-content: flex-start;
		gap: 22px;
	}

	body.home #hero.section .section-content {
		min-height: clamp(520px, 92svh, 760px);
		padding-top: 154px;
		padding-bottom: 126px;
	}

	body.home #hero .hero-billboard h1 {
		font-size: clamp(74px, 18vw, 118px);
		line-height: 0.84;
	}

	body.home #section-1.section .section-content,
	body.home #section-2.section .section-content,
	body.home #section-10.section .section-content,
	body.home #section-6.section .section-content,
	body.home .footer-wrapper .columns {
		grid-template-columns: 1fr;
	}

	body.home #section-2.section .section-content,
	body.home #section-10.section .section-content {
		grid-template-areas:
			"left"
			"right"
			"posts";
		row-gap: 32px;
	}

	body.home #section-2.section .col-right,
	body.home #section-10.section .button-section {
		justify-self: start;
		justify-items: start;
	}

	body.home #section-2.section .posts,
	body.home #section-10.section .posts,
	body.home #section-4.section .columns {
		grid-template-columns: 1fr;
	}

	body.home #section-4.section .support-wrapper {
		width: 100%;
	}

	body.home #section-4.section .dopisek {
		white-space: normal;
	}

	body.home #section-6.section .section-content {
		grid-template-areas:
			"title"
			"text"
			"logos";
		row-gap: 28px;
	}

	body.home #section-6.section .loga {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 22px;
	}

	body.home #section-6.section .logo:nth-child(n) {
		width: 100%;
		max-width: 174px;
	}

	body.home #section-5.section .section-content,
	body.home #section-consultation.section .section-content {
		min-height: auto;
		padding: 96px var(--home-gutter);
	}

	body.home #section-consultation.section .section-content {
		padding: clamp(56px, 13vw, 72px) 0 clamp(64px, 15vw, 82px);
	}

	body.home #section-consultation.section .text-editor {
		margin-top: 28px;
	}

	body.home #section-consultation.section .button-section {
		margin-top: 36px;
	}

	body.home .footer-wrapper {
		padding: clamp(56px, 13vw, 72px) 0 calc(48px + var(--home-fixed-nav-space));
	}

	body.home .footer-wrapper .button-section a,
	body.home #section-2.section .col-right .button-section a,
	body.home #section-10.section .button-section a {
		min-width: 0;
	}
}

/* ----------------------------------------------------------
   Hero + header refinement
   ---------------------------------------------------------- */

body.home {
	--hero-nav-height: 77px;
}

body.home .section-width,
body.home .home-top-controls .section-width,
body.home .footer-wrapper .section-width {
	width: min(calc(100% - (2 * var(--home-gutter))), var(--home-max-width));
	margin-inline: auto;
	padding-inline: 0;
}

body.home .header.home-bottom-nav {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	padding-inline: var(--home-gutter);
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	column-gap: clamp(26px, 3vw, 64px);
	background: transparent;
	backdrop-filter: none;
	border-top: 0;
	overflow: visible;
}

body.home .header.home-bottom-nav::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid rgba(16, 16, 16, 0.12);
	backdrop-filter: blur(16px);
	opacity: 0;
	transition: opacity var(--home-transition);
	pointer-events: none;
}

body.home.home-menu-solid .header.home-bottom-nav::before {
	opacity: 1;
}

body.home.home-menu-footer .header.home-bottom-nav::before {
	opacity: 0;
}

body.home .header.home-bottom-nav .col-left,
body.home .header.home-bottom-nav .col-center,
body.home .header.home-bottom-nav .col-right {
	position: relative;
	z-index: 1;
	min-width: 0;
}

body.home .header.home-bottom-nav .col-left,
body.home .header.home-bottom-nav .col-right {
	display: flex;
	align-items: center;
}

body.home .header.home-bottom-nav .col-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

body.home .menu-home,
body.home .home-socials {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}

body.home .menu-home {
	justify-content: flex-start;
	gap: clamp(18px, 2.4vw, 42px);
}

body.home .home-socials {
	justify-content: flex-end;
	gap: clamp(18px, 2.2vw, 36px);
}

body.home .menu-home a,
body.home .home-socials a,
body.home .home-socials span {
	white-space: nowrap;
}

body.home .menu-home a {
	padding: 0 0 10px;
}

body.home .menu-home a::before {
	left: 0;
	right: 0;
	top: auto;
	bottom: 0;
	width: 100%;
	height: 2px;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--home-transition);
}

body.home .menu-home a:hover::before,
body.home .menu-home a.is-active::before {
	width: 100%;
	transform: scaleX(1);
}

body.home .site-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(26px, 1.2vw + 21px, 34px);
	font-weight: 500;
	letter-spacing: -0.08em;
	white-space: nowrap;
}

body.home #hero.section {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	overflow: clip;
	background: var(--home-spectrum-current);
	animation: none;
}

body.home #hero.section::before,
body.home #hero.section::after {
	content: none;
}

body.home #hero.section .section-width {
	width: 100%;
	max-width: none;
	height: 100%;
}

body.home #hero.section .section-content {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 100vh;
	min-height: 100svh;
	padding: clamp(96px, 7vw, 118px) var(--home-gutter) calc(var(--hero-nav-height) + 34px);
	align-items: center;
}

body.home #hero .hero-billboard {
	position: relative;
	width: 100%;
	max-width: none;
	height: 100%;
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

body.home #hero .hero-mix-field {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	user-select: none;
	cursor: default;
	overflow: visible;
}

body.home #hero .hero-fragment-shell {
	position: absolute;
	display: inline-flex;
	will-change: transform;
	pointer-events: none;
}

body.home #hero .hero-fragment-shell-1 {
	top: 5%;
	left: 48%;
}

body.home #hero .hero-fragment-shell-2 {
	top: 18%;
	left: 35%;
}

body.home #hero .hero-fragment-shell-3 {
	top: 26%;
	left: 48%;
}

body.home #hero .hero-fragment-shell-4 {
	top: 39%;
	left: 57%;
}

body.home #hero .hero-fragment-shell-5 {
	top: 52%;
	left: 43%;
}

body.home #hero .hero-fragment-shell-6 {
	top: 64%;
	left: 59%;
}

body.home #hero .hero-fragment-shell-7 {
	top: 79%;
	left: 72%;
}

body.home #hero .hero-fragment {
	display: inline-flex;
	align-items: center;
	font-size: clamp(84px, 7.2vw + 10px, 214px);
	font-weight: 900;
	line-height: 0.82;
	letter-spacing: -0.12em;
	text-transform: uppercase;
	color: #050505;
}

body.home #hero .hero-fragment-1 {
	transform: rotate(-12deg);
}

body.home #hero .hero-fragment-2 {
	transform: rotate(84deg);
}

body.home #hero .hero-fragment-3 {
	transform: rotate(-28deg);
}

body.home #hero .hero-fragment-4 {
	transform: rotate(8deg);
}

body.home #hero .hero-fragment-5 {
	transform: rotate(-8deg);
}

body.home #hero .hero-fragment-6 {
	transform: rotate(24deg);
}

body.home #hero .hero-fragment-7 {
	transform: rotate(-16deg);
}

body.home #hero .hero-letter {
	display: inline-block;
	transform: none !important;
}

@keyframes k404-hero-sequence {
	0% {
		background-color: #fe4a32;
	}
	25% {
		background-color: #ffd84d;
	}
	50% {
		background-color: #8d65ff;
	}
	75% {
		background-color: #3fd3ff;
	}
	100% {
		background-color: #fe4a32;
	}
}

@keyframes k404-button-fill-sequence {
	0% {
		background-color: var(--home-button-fill-red);
	}
	20% {
		background-color: var(--home-button-fill-orange);
	}
	40% {
		background-color: var(--home-button-fill-yellow);
	}
	60% {
		background-color: var(--home-button-fill-blue);
	}
	80% {
		background-color: var(--home-button-fill-indigo);
	}
	100% {
		background-color: var(--home-button-fill-red);
	}
}

@media (max-width: 1360px) {
	body.home #hero .hero-fragment {
		font-size: clamp(76px, 7.4vw, 178px);
	}
}

@media (max-width: 991px) {
	body.home .home-top-controls {
		top: 18px;
	}

	body.home #hero .hero-billboard {
		justify-content: center;
	}

	body.home #hero .hero-mix-field {
		height: 100%;
	}

	body.home #hero .hero-fragment {
		font-size: clamp(60px, 14vw, 110px);
	}

	body.home #hero .hero-fragment-shell-1 {
		top: 12%;
		left: 54%;
	}

	body.home #hero .hero-fragment-shell-2 {
		top: 24%;
		left: 18%;
	}

	body.home #hero .hero-fragment-shell-3 {
		top: 36%;
		left: 40%;
	}

	body.home #hero .hero-fragment-shell-4 {
		top: 50%;
		left: 54%;
	}

	body.home #hero .hero-fragment-shell-5 {
		top: 58%;
		left: 20%;
	}

	body.home #hero .hero-fragment-shell-6 {
		top: 70%;
		left: 44%;
	}

	body.home #hero .hero-fragment-shell-7 {
		top: 82%;
		left: 58%;
	}
}

@media (max-width: 991px) {
	body.home #hero .hero-letter {
		transition: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home #hero.section {
		background-color: #fe3334;
		animation: none;
	}

	body.home .footer-wrapper {
		background-color: #fe3334;
		animation: none;
	}

	body.home .home-ui-pill::before,
	body.home .section .button-section a::before,
	body.home .footer-wrapper .button-section a::before {
		animation: none;
	}
}

/* ----------------------------------------------------------
   Global chroma sync
   ---------------------------------------------------------- */

body.home #section-1.section .slider .dopisek,
body.home #section-2.section .dopisek,
body.home #section-2.section .portfolio-meta .dopisek,
body.home #section-4.section .dopisek,
body.home #section-10.section .dopisek {
	color: var(--home-spectrum-current);
	animation: none !important;
}

body.home .menu-home a:hover {
	color: var(--home-ui-fg);
}

body.home .menu-home a:hover::before {
	width: 0 !important;
	transform: scaleX(0) !important;
}

body.home .menu-home a.is-active::before {
	width: 100%;
	transform: scaleX(1);
	background: #101010;
}

/* ----------------------------------------------------------
   Hero letters: orderly start, then organic chaos
   ---------------------------------------------------------- */

body.home #hero .hero-mix-field {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: default;
}

body.home #hero .hero-title-grid {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(0px, 0.12vw, 3px);
}

body.home #hero .hero-line {
	display: flex;
	align-items: center;
	justify-content: center;
}

body.home #hero .hero-letter-shell {
	position: relative;
	display: inline-flex;
	margin-right: -0.12em;
	will-change: transform, left, top;
	transform-origin: center center;
}

body.home #hero .hero-line .hero-letter-shell:last-child {
	margin-right: 0;
}

body.home #hero .hero-letter {
	display: inline-block;
	font-size: clamp(124px, 15vw + 18px, 320px);
	font-weight: 900;
	line-height: 0.78;
	letter-spacing: -0.12em;
	text-transform: uppercase;
	color: #050505;
	transform-origin: center;
}

body.home #hero .hero-title-accessible {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
}

body.home #hero .hero-mix-field.is-ready {
	position: relative;
}

body.home #hero .hero-mix-field.is-ready .hero-title-grid {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
}

body.home #hero .hero-mix-field.is-ready .hero-line {
	display: contents;
}

body.home #hero .hero-mix-field.is-ready .hero-letter-shell {
	position: absolute;
	left: var(--hero-left);
	top: var(--hero-top);
	margin-right: 0;
	transform: translate3d(
		var(--hero-chaos-x, 0px),
		var(--hero-chaos-y, 0px),
		0
	) rotate(var(--hero-chaos-rotate, 0deg));
}

@media (max-width: 1360px) {
	body.home #hero .hero-letter {
		font-size: clamp(106px, 12.6vw, 238px);
	}
}

@media (max-width: 991px) {
	body.home #hero .hero-title-grid {
		gap: 2px;
	}

	body.home #hero .hero-letter {
		font-size: clamp(76px, 20vw, 168px);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home #hero .hero-mix-field.is-ready .hero-letter-shell {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}
}

/* ----------------------------------------------------------
   Section 1 refinement
   ---------------------------------------------------------- */

body.home #section-1.section {
	padding: clamp(42px, 2.48vw + 32.33px, 60px) 0 0;
}

body.home #section-1.section .section-width {
	width: min(calc(100% - (2 * var(--home-gutter))), var(--home-max-width));
}

body.home #section-1.section .section-content {
	grid-template-columns: minmax(0, 878px) minmax(320px, 487px);
	column-gap: clamp(44px, 7.507vw + 14.72px, 155px);
	align-items: start;
}

body.home #section-1.section .col-left {
	max-width: 878px;
}

body.home #section-1.section .col-left .text-editor {
	max-width: 878px;
}

body.home #section-1.section .col-left .text-editor p {
	margin: 0;
	font-size: clamp(20px, 1.378vw + 14.63px, 30px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

body.home #section-1.section .button-section {
	margin-top: 50px;
}

body.home #section-1.section .button-section a {
	min-width: 252px;
}

body.home #section-1.section .slider {
	width: min(100%, 487px);
	max-width: 487px;
}

body.home #section-1.section .slider .item {
	display: grid;
	row-gap: 0;
}

body.home #section-1.section .slider .image-wrapper {
	width: 100%;
	height: auto;
	aspect-ratio: 487 / 553;
	overflow: hidden;
	background: #efefef;
}

body.home #section-1.section .slider .image-wrapper img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.home #section-1.section .slider .slider-meta {
	margin-top: var(--home-section-1-meta-gap);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

body.home #section-1.section .slider .podpis {
	margin-top: 0;
}

body.home #section-1.section .slider .podpis h5 {
	margin: 0;
	font-size: clamp(18px, 0.276vw + 16.92px, 20px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

body.home #section-1.section .slider .dopisek {
	margin-top: 0;
	font-size: clamp(13px, 0.138vw + 12.46px, 14px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
	animation: k404-copy-sequence 10s linear infinite;
}

@keyframes k404-copy-sequence {
	0% {
		color: #101010;
	}
	25% {
		color: #fe3344;
	}
	50% {
		color: #6d47e6;
	}
	75% {
		color: #0f88d9;
	}
	100% {
		color: #101010;
	}
}

@media (max-width: 991px) {
	body.home #section-1.section {
		padding-top: clamp(34px, 2.48vw + 24.33px, 44px);
		padding-bottom: clamp(64px, 4.13vw + 47.9px, 92px);
	}

	body.home #section-1.section .section-content {
		row-gap: 34px;
	}

	body.home #section-1.section .button-section {
		margin-top: 36px;
	}

	body.home #section-1.section .slider {
		max-width: min(100%, 487px);
	}

	body.home #section-1.section .slider .podpis {
		margin-top: 0;
	}

	body.home #section-1.section .slider .slider-meta {
		margin-top: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home #section-1.section .slider .dopisek {
		animation: none;
	}
}

/* ----------------------------------------------------------
   Section 2 portfolio refinement
   ---------------------------------------------------------- */

body.home #section-1.section {
	padding-bottom: 0;
}

body.home #section-2.section {
	padding: var(--home-section-2-top-gap) 0 0;
}

body.home #section-2.section .section-width {
	border-top: 1px solid rgba(16, 16, 16, 0.16);
	padding-top: clamp(58px, 1.396vw + 53.53px, 80px);
}

body.home #section-2.section .section-content {
	grid-template-columns: 878px 224px;
	grid-template-areas:
		"left right"
		"posts posts";
	justify-content: space-between;
	column-gap: 0;
	row-gap: 60px;
}

body.home #section-2.section .col-left {
	width: min(100%, 878px);
	max-width: 878px;
}

body.home #section-2.section .support-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	width: min(100%, 878px);
}

body.home #section-2.section .title-wrapper h2 {
	margin: 0;
	font-size: 40px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.02em;
}

body.home #section-2.section .dopisek {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
	animation: k404-copy-sequence 10s linear infinite;
}

body.home #section-2.section .dopisek span::before,
body.home #section-2.section .portfolio-meta .dopisek span::before {
	content: "[";
}

body.home #section-2.section .dopisek span::after,
body.home #section-2.section .portfolio-meta .dopisek span::after {
	content: "]";
}

body.home #section-2.section .text-editor {
	margin-top: 40px;
	width: min(100%, 878px);
	max-width: 878px;
}

body.home #section-2.section .text-editor p {
	margin: 0;
	width: 100%;
	max-width: none;
	font-size: clamp(20px, 1.378vw + 14.63px, 30px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

body.home #section-2.section .text-editor p + p {
	margin-top: 24px;
}

body.home #section-2.section .col-right {
	grid-area: right;
	justify-self: end;
	width: 224px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	row-gap: 20px;
}

body.home #section-2.section .posts-shell {
	grid-area: posts;
	display: grid;
	row-gap: 35px;
}

body.home #section-2.section .portfolio-viewport {
	width: 100%;
	overflow: hidden;
}

body.home #section-2.section .portfolio-rail.posts {
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 30px;
	width: 100%;
	transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

body.home #section-2.section .portfolio-card {
	height: auto;
	flex: 0 0 calc((100% - 30px) / 2);
	width: calc((100% - 30px) / 2);
	max-width: calc((100% - 30px) / 2);
}

body.home #section-2.section .post-item {
	display: grid;
	height: 100%;
	row-gap: 20px;
}

body.home #section-2.section .post-thumbnail {
	position: relative;
	overflow: hidden;
	background: rgba(16, 16, 16, 0.06);
}

body.home #section-2.section .post-thumbnail a {
	display: block;
}

body.home #section-2.section .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 745 / 409;
	object-fit: cover;
}

body.home #section-2.section .meta {
	padding: 0;
}

body.home #section-2.section .portfolio-meta {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
}

body.home #section-2.section .post-title,
body.home #section-2.section .portfolio-meta .dopisek {
	display: block !important;
}

body.home #section-2.section .portfolio-meta .post-title h5 {
	margin: 0;
	font-size: clamp(18px, 0.276vw + 16.92px, 20px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #000;
}

body.home #section-2.section .portfolio-meta .dopisek {
	margin-top: 0;
}

body.home #section-2.section .portfolio-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 151px;
	width: 305px;
	max-width: 100%;
}

body.home #section-2.section .portfolio-arrow {
	position: relative;
	width: 77px;
	height: 14px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

body.home #section-2.section .portfolio-arrow-line {
	position: absolute;
	top: 50%;
	width: 77px;
	height: 1px;
	background: #101010;
	transform: translateY(-50%);
	transition: transform var(--home-transition), opacity var(--home-transition);
}

body.home #section-2.section .portfolio-arrow-prev .portfolio-arrow-line {
	left: 0;
}

body.home #section-2.section .portfolio-arrow-next .portfolio-arrow-line {
	right: 0;
}

body.home #section-2.section .portfolio-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	width: 10px;
	height: 10px;
	border-top: 1px solid #101010;
	transform: translateY(-50%);
	transition: transform var(--home-transition), opacity var(--home-transition);
}

body.home #section-2.section .portfolio-arrow-prev::before {
	left: 0;
	border-left: 1px solid #101010;
	transform: translateY(-50%) rotate(-45deg);
}

body.home #section-2.section .portfolio-arrow-next::before {
	right: 0;
	border-right: 1px solid #101010;
	transform: translateY(-50%) rotate(45deg);
}

body.home #section-2.section .portfolio-arrow:hover .portfolio-arrow-line,
body.home #section-2.section .portfolio-arrow:hover::before {
	opacity: 0.72;
}

body.home #section-2.section .portfolio-arrow:disabled,
body.home #section-2.section .portfolio-navigation[data-static-nav] .portfolio-arrow {
	opacity: 1;
	cursor: default;
}

body.home #section-2.section .portfolio-arrow:disabled .portfolio-arrow-line,
body.home #section-2.section .portfolio-arrow:disabled::before,
body.home #section-2.section .portfolio-navigation[data-static-nav] .portfolio-arrow .portfolio-arrow-line,
body.home #section-2.section .portfolio-navigation[data-static-nav] .portfolio-arrow::before {
	opacity: 1;
}

@media (max-width: 991px) {
	body.home #section-1.section {
		padding-bottom: 0;
	}

	body.home #section-2.section {
		padding-top: clamp(34px, 2.48vw + 24.33px, 44px);
		padding-bottom: clamp(68px, 4.13vw + 51.9px, 96px);
	}

	body.home #section-2.section .section-width {
		padding-top: clamp(38px, 3.54vw + 24.18px, 62px);
	}

	body.home #section-2.section .section-content {
		grid-template-columns: 1fr;
		grid-template-areas:
			"left"
			"right"
			"posts";
		justify-content: stretch;
		row-gap: 34px;
	}

	body.home #section-2.section .support-wrapper {
		flex-wrap: wrap;
		gap: 10px;
	}

	body.home #section-2.section .title-wrapper h2 {
		font-size: clamp(28px, 2.48vw + 18.33px, 36px);
	}

	body.home #section-2.section .text-editor {
		margin-top: 28px;
	}

	body.home #section-2.section .col-right {
		align-items: flex-start;
	}

	body.home #section-2.section .col-right .button-section a {
		min-width: 224px;
	}

	body.home #section-2.section .posts-shell {
		row-gap: 24px;
	}

	body.home #section-2.section .portfolio-rail.posts {
		gap: 20px;
	}

	body.home #section-2.section .portfolio-card {
		flex-basis: 100%;
		width: 100%;
		max-width: 100%;
	}

	body.home #section-2.section .portfolio-navigation {
		width: 220px;
		gap: 92px;
	}

	body.home #section-2.section .portfolio-arrow,
	body.home #section-2.section .portfolio-arrow-line {
		width: 64px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home #section-2.section .dopisek,
	body.home #section-2.section .portfolio-meta .dopisek {
		animation: none;
	}
}

/* Fixed header social slots */
body.home .header.home-bottom-nav .col-right {
	justify-content: flex-end;
}

body.home .header.home-bottom-nav .home-socials {
	display: grid;
	grid-template-columns: max-content max-content max-content 7.8ch;
	align-items: center;
	justify-content: end;
	justify-items: start;
	column-gap: clamp(10px, 0.8vw, 16px);
	width: max-content;
	margin-left: auto;
}

body.home .header.home-bottom-nav .home-socials a,
body.home .header.home-bottom-nav .home-socials .header-code {
	display: block;
	white-space: nowrap;
}

body.home .header.home-bottom-nav .home-socials .header-code {
	width: 7.8ch;
	min-width: 7.8ch;
	text-align: left;
	font-variant-numeric: tabular-nums;
}
