/**
 * Desktop header: dropdown + megamenu (≥1101px).
 * Ładowane z media=(min-width:1101px) — nie blokuje mobile LCP.
 */

@media (min-width: 1101px) {
	.cw-header {
		overflow: visible;
	}

	.cw-header__nav {
		overflow: visible;
		min-width: 0;
	}

	.cw-header__menu {
		flex-wrap: nowrap;
	}

	.cw-header__menu > li > .sub-menu {
		position: absolute;
		top: calc(100% + 0.4rem);
		left: 0;
		min-width: 12.5rem;
		max-width: 17rem;
		max-height: min(70vh, 24rem);
		overflow-x: hidden;
		overflow-y: auto;
		padding: 0.4rem 0;
		background: rgba(255, 255, 255, 0.98);
		border: 1px solid var(--cw-border);
		border-radius: 12px;
		box-shadow: 0 14px 40px rgba(10, 10, 10, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition:
			opacity 0.2s ease,
			transform 0.2s ease,
			visibility 0.2s ease;
		z-index: 60;
		-webkit-overflow-scrolling: touch;
	}

	.cw-header__menu > li.menu-item-has-children:hover > .sub-menu,
	.cw-header__menu > li.menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.cw-header__menu > li > .sub-menu a {
		border-radius: 0;
		padding: 0.5rem 1rem;
		font-size: 0.8125rem;
		white-space: nowrap;
	}

	.cw-header__menu > li > .sub-menu a:hover,
	.cw-header__menu > li > .sub-menu .current-menu-item > a {
		background: var(--cw-stone);
	}

	.cw-header__menu > li.menu-item-has-children > a {
		padding-right: 1.35rem;
	}

	.cw-header__menu > li.menu-item-has-children > a::after {
		content: "";
		display: inline-block;
		width: 0.35rem;
		height: 0.35rem;
		margin-left: 0.35rem;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
		vertical-align: middle;
		opacity: 0.5;
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li > .sub-menu {
		background: rgba(18, 20, 28, 0.96);
		border-color: rgba(255, 255, 255, 0.12);
		box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li > .sub-menu a {
		color: rgba(255, 255, 255, 0.9);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li > .sub-menu a:hover {
		background: rgba(255, 255, 255, 0.1);
		color: #fff;
	}

	/* Mega-menu „Funkcje” — premium panel */
	.cw-header__menu > li.menu-item-cw-features {
		position: static;
	}

	.cw-header__menu > li.menu-item-cw-features > .sub-menu {
		display: none;
	}

	.cw-header__menu > li.menu-item-cw-features:hover > a,
	.cw-header__menu > li.menu-item-cw-features.is-mega-open > a,
	.cw-header__menu > li.menu-item-cw-features:focus-within > a,
	.cw-header__menu > li.menu-item-cw-features:has(.cw-header__mega:hover) > a {
		color: var(--cw-black);
		background: var(--cw-stone);
	}

	.cw-header__mega {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		margin-top: 0;
		padding: 1rem var(--cw-gutter, 1.5rem) 1.15rem;
		background: var(--cw-white);
		border: none;
		border-top: 1px solid rgba(10, 10, 10, 0.06);
		border-radius: 0;
		box-shadow: 0 24px 56px rgba(10, 10, 10, 0.08);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-4px);
		transition:
			opacity 0.2s var(--cw-ease),
			transform 0.2s var(--cw-ease),
			visibility 0.2s ease;
		transition-delay: 0.08s;
		z-index: 80;
		pointer-events: none;
		overflow: hidden;
		isolation: isolate;
	}

	/* Niewidzialny mostek — kursor nie traci hover w szczelinie pod linkiem */
	.cw-header__mega::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -3.25rem;
		height: 3.25rem;
		pointer-events: auto;
	}

	.cw-header__mega::after {
		display: none;
	}

	.cw-header__menu > li.menu-item-cw-features:hover > .cw-header__mega,
	.cw-header__menu > li.menu-item-cw-features.is-mega-open > .cw-header__mega,
	.cw-header__menu > li.menu-item-cw-features:focus-within > .cw-header__mega,
	.cw-header__menu > li.menu-item-cw-features:has(.cw-header__mega:hover) > .cw-header__mega,
	.cw-header__mega.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
		transition-delay: 0s;
	}

	.cw-header__mega-inner {
		position: relative;
		z-index: 1;
		display: flex;
		flex-direction: column;
		gap: 0;
		max-width: var(--cw-container-wide);
		margin: 0 auto;
	}

	.cw-header__mega-bar {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.5rem 1.25rem;
		padding-bottom: 0.85rem;
		border-bottom: 1px solid rgba(10, 10, 10, 0.06);
	}

	.cw-header__mega-kicker {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
		margin: 0;
		font-size: 0.625rem;
		font-weight: 500;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		color: rgba(10, 10, 10, 0.42);
		white-space: nowrap;
	}

	.cw-header__mega-kicker-mark {
		display: block;
		width: var(--cw-eyebrow-wave-size, 1.35rem);
		height: var(--cw-eyebrow-wave-size, 1.35rem);
		border-radius: 0;
		background: var(--cw-eyebrow-wave) center / contain no-repeat;
		flex-shrink: 0;
		opacity: 0.55;
	}

	.cw-header__mega-count {
		margin: 0;
		padding-left: 0.65rem;
		border-left: 1px solid rgba(10, 10, 10, 0.08);
		font-size: 0.625rem;
		font-weight: 500;
		letter-spacing: 0.16em;
		text-transform: uppercase;
		color: rgba(10, 10, 10, 0.38);
	}

	.cw-header__mega-headline {
		margin: 0;
		flex: 1 1 auto;
		min-width: 0;
		font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
		font-weight: 500;
		letter-spacing: -0.02em;
		line-height: 1.25;
		color: var(--cw-black);
	}

	.cw-header__mega-bar-cta {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 34px;
		padding: 0.4rem 1rem;
		font-size: 0.8125rem;
		font-weight: 500;
		border-radius: var(--cw-btn-radius);
		text-decoration: none;
		white-space: nowrap;
		flex-shrink: 0;
		color: #fff !important;
		background: var(--cw-blue);
		border-color: transparent;
	}

	.cw-header__mega-bar-cta:hover,
	.cw-header__mega-bar-cta:focus-visible {
		color: #fff !important;
		background: var(--cw-blue-hover, #0066d6);
	}

	.cw-header__mega-main {
		min-width: 0;
		padding-top: 0.15rem;
	}

	.cw-header__mega-bar--features {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem 1.25rem;
	}

	.cw-header__mega-bar-start {
		display: inline-flex;
		align-items: center;
		gap: 0.65rem;
		min-width: 0;
	}

	.cw-header__mega-bar--features .cw-header__mega-count {
		margin: 0;
		padding: 0;
		border: 0;
	}

	.cw-header__mega-main--features {
		padding-top: 0;
	}

	.cw-header__features-shell {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(12.5rem, 15rem);
		align-items: start;
		gap: clamp(1rem, 2.5vw, 2rem);
		min-height: 0;
		padding-top: 0.15rem;
		border-top: 1px solid rgba(10, 10, 10, 0.06);
		background: transparent;
	}

	.cw-header__features-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: minmax(0, auto);
		gap: 0.1rem 2rem;
		align-content: start;
		padding: 0.65rem 0 0.5rem;
	}

	@media (min-width: 1040px) {
		.cw-header__features-grid {
			grid-template-columns: repeat(3, minmax(0, 1fr));
			gap: 0.1rem 2.25rem;
		}
	}

	@media (min-width: 1240px) {
		.cw-header__features-grid {
			grid-template-columns: repeat(4, minmax(0, 1fr));
		}
	}

	.cw-header__features-card {
		display: flex;
		align-items: center;
		min-height: 2.15rem;
		padding: 0.3rem 0;
		border: 0;
		border-radius: 0;
		text-decoration: none;
		color: inherit;
		background: transparent;
		transition: color 0.2s var(--cw-ease);
	}

	.cw-header__features-card:hover,
	.cw-header__features-card:focus-visible {
		background: transparent;
		outline: none;
	}

	.cw-header__features-title {
		flex: 1;
		min-width: 0;
		font-size: 0.8125rem;
		font-weight: 400;
		letter-spacing: -0.01em;
		line-height: 1.35;
		color: rgba(10, 10, 10, 0.72);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		transition: color 0.2s var(--cw-ease);
	}

	.cw-header__features-card:hover .cw-header__features-title,
	.cw-header__features-card:focus-visible .cw-header__features-title {
		color: var(--cw-blue);
	}

	.cw-header__features-visual {
		display: flex;
		flex-direction: column;
		min-height: 0;
		padding: 0.65rem 0 0.35rem;
		background: transparent;
	}

	.cw-header__features-product {
		display: flex;
		flex-direction: column;
		flex: 1;
		text-decoration: none;
		color: inherit;
		transition: color 0.2s var(--cw-ease);
	}

	.cw-header__features-product:hover,
	.cw-header__features-product:focus-visible {
		outline: none;
	}

	.cw-header__features-product:hover .cw-header__features-visual-name,
	.cw-header__features-product:focus-visible .cw-header__features-visual-name {
		color: var(--cw-blue);
	}

	.cw-header__features-visual-stage {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 11.5rem;
		padding: 0;
		border: none;
		border-radius: 0;
		background: transparent;
		overflow: visible;
	}

	.cw-header__features-media {
		position: relative;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
	}

	.cw-header__features-visual-img {
		position: relative;
		z-index: 1;
		display: block;
		width: 100%;
		max-width: 11.5rem;
		height: auto;
		max-height: 11rem;
		margin: 0 auto;
		object-fit: contain;
		object-position: center;
	}

	.cw-header__features-visual-meta {
		padding: 0.75rem 0 0;
		border-top: none;
		background: transparent;
		text-align: center;
	}

	.cw-header__features-visual-name {
		margin: 0;
		font-size: 0.875rem;
		font-weight: 500;
		letter-spacing: -0.02em;
		color: var(--cw-black);
	}

	.cw-header__features-visual-caption {
		margin: 0.3rem 0 0;
		font-size: 0.625rem;
		font-weight: 500;
		letter-spacing: 0.18em;
		text-transform: uppercase;
		color: rgba(10, 10, 10, 0.38);
	}

	.cw-header__mega-reassurance {
		margin-top: 0.35rem;
		padding: 0.85rem 0 0.15rem;
		border-top: 1px solid rgba(10, 10, 10, 0.06);
	}

	.cw-header__mega-reassurance-eyebrow {
		display: inline-flex;
		align-items: center;
		gap: 0.55rem;
		margin: 0 0 0.75rem;
		font-size: 0.625rem;
		font-weight: 500;
		letter-spacing: 0.18em;
		text-transform: uppercase;
		color: rgba(10, 10, 10, 0.38);
	}

	.cw-header__mega-reassurance-mark {
		display: block;
		width: var(--cw-eyebrow-wave-size, 1.35rem);
		height: var(--cw-eyebrow-wave-size, 1.35rem);
		background: var(--cw-eyebrow-wave) center / contain no-repeat;
		opacity: 0.55;
	}

	.cw-header__mega-reassurance-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem 1.25rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	@media (min-width: 900px) {
		.cw-header__mega-reassurance-list {
			grid-template-columns: repeat(4, minmax(0, 1fr));
			gap: 0 0;
		}
	}

	.cw-header__mega-reassurance-item {
		position: relative;
		margin: 0;
		padding: 0;
	}

	@media (min-width: 900px) {
		.cw-header__mega-reassurance-item {
			padding: 0 clamp(1rem, 2vw, 1.35rem);
		}

		.cw-header__mega-reassurance-item:first-child {
			padding-left: 0;
		}

		.cw-header__mega-reassurance-item:not(:first-child)::before {
			content: "";
			position: absolute;
			left: 0;
			top: 0.1rem;
			bottom: 0.1rem;
			width: 1px;
			background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.08) 15%, rgba(10, 10, 10, 0.08) 85%, transparent);
		}
	}

	.cw-header__mega-reassurance-metric {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 0.3rem 0.4rem;
		margin: 0;
		line-height: 1.1;
	}

	.cw-header__mega-reassurance-value {
		font-size: 0.9375rem;
		font-weight: 500;
		letter-spacing: -0.02em;
		color: var(--cw-black);
	}

	.cw-header__mega-reassurance-label {
		font-size: 0.6875rem;
		font-weight: 500;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: rgba(10, 10, 10, 0.42);
	}

	.cw-header__mega-reassurance-desc {
		margin: 0.35rem 0 0;
		font-size: 0.75rem;
		line-height: 1.45;
		color: rgba(10, 12, 20, 0.48);
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}

	.cw-header__mega-grid {
		column-count: 3;
		column-gap: 1.5rem;
		overflow: visible;
	}

	@media (min-width: 1100px) {
		.cw-header__mega-grid {
			column-count: 4;
			column-gap: 1.75rem;
		}
	}

	@media (min-width: 1320px) {
		.cw-header__mega-grid {
			column-count: 5;
		}
	}

	.cw-header__mega-card {
		position: relative;
		display: flex;
		align-items: center;
		gap: 0.55rem;
		width: 100%;
		margin: 0 0 0.15rem;
		padding: 0.35rem 0.45rem;
		border: 1px solid transparent;
		border-radius: 10px;
		text-decoration: none;
		color: inherit;
		background: transparent;
		break-inside: avoid;
		transition:
			background 0.2s var(--cw-ease),
			border-color 0.2s var(--cw-ease),
			transform 0.2s var(--cw-ease);
	}

	.cw-header__mega-card::after {
		content: "";
		flex-shrink: 0;
		width: 0.65rem;
		height: 0.65rem;
		margin-left: auto;
		opacity: 0;
		transform: translateX(-2px);
		background-color: var(--cw-blue);
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
		mask-size: contain;
		mask-repeat: no-repeat;
		mask-position: center;
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
		-webkit-mask-size: contain;
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-position: center;
		transition: opacity 0.2s var(--cw-ease), transform 0.2s var(--cw-ease);
	}

	.cw-header__mega-card:hover,
	.cw-header__mega-card:focus-visible {
		background: rgba(245, 245, 243, 0.9);
		border-color: rgba(0, 126, 255, 0.12);
		outline: none;
		transform: translateX(1px);
	}

	.cw-header__mega-card:hover::after,
	.cw-header__mega-card:focus-visible::after {
		opacity: 0.55;
		transform: translateX(0);
	}

	.cw-header__mega-card:hover .cw-header__mega-title,
	.cw-header__mega-card:focus-visible .cw-header__mega-title {
		color: var(--cw-blue);
	}

	.cw-header__mega-thumb {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 1.75rem;
		height: 1.75rem;
		border-radius: 7px;
		overflow: hidden;
		background: linear-gradient(145deg, #fff 0%, var(--cw-stone) 100%);
		border: 1px solid rgba(10, 10, 10, 0.06);
		flex-shrink: 0;
		box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
	}

	.cw-header__mega-thumb--placeholder {
		background: linear-gradient(145deg, rgba(0, 126, 255, 0.1) 0%, var(--cw-stone) 100%);
	}

	.cw-header__mega-thumb--placeholder::after {
		content: "";
		position: absolute;
		inset: 24%;
		background-color: var(--cw-blue);
		opacity: 0.45;
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M12 3l1.8 5.5H19l-4.5 3.3 1.7 5.2L12 13.7 7.8 17l1.7-5.2L5 8.5h5.2z'/%3E%3C/svg%3E");
		mask-size: contain;
		mask-repeat: no-repeat;
		mask-position: center;
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75'%3E%3Cpath d='M12 3l1.8 5.5H19l-4.5 3.3 1.7 5.2L12 13.7 7.8 17l1.7-5.2L5 8.5h5.2z'/%3E%3C/svg%3E");
		-webkit-mask-size: contain;
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-position: center;
	}

	.cw-header__mega-thumb-img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.cw-header__mega-title {
		min-width: 0;
		flex: 1 1 auto;
		font-size: 0.75rem;
		font-weight: 500;
		letter-spacing: -0.01em;
		line-height: 1.3;
		color: var(--cw-black);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		transition: color 0.2s var(--cw-ease);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li.menu-item-cw-features:hover > a,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li.menu-item-cw-features.is-mega-open > a,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li.menu-item-cw-features:focus-within > a,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li.menu-item-cw-features:has(.cw-header__mega:hover) > a {
		color: #fff;
		background: rgba(255, 255, 255, 0.12);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled):has(.is-mega-open) .cw-header {
		background: #12141c;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		border-bottom-color: rgba(255, 255, 255, 0.08);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega {
		background: #12141c;
		border-color: rgba(255, 255, 255, 0.1);
		box-shadow:
			0 28px 72px rgba(0, 0, 0, 0.42),
			inset 0 1px 0 rgba(255, 255, 255, 0.06);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-bar {
		border-color: rgba(255, 255, 255, 0.1);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-headline {
		color: #fff;
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-count {
		color: rgba(255, 255, 255, 0.45);
		border-color: rgba(255, 255, 255, 0.14);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__features-shell {
		border-top-color: rgba(255, 255, 255, 0.1);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__features-title {
		color: rgba(255, 255, 255, 0.72);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__features-card:hover .cw-header__features-title,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__features-card:focus-visible .cw-header__features-title {
		color: #a8c4ff;
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-reassurance {
		border-top-color: rgba(255, 255, 255, 0.1);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-reassurance-value {
		color: #fff;
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-reassurance-desc {
		color: rgba(255, 255, 255, 0.5);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-reassurance-item:not(:first-child)::before {
		background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12) 15%, rgba(255, 255, 255, 0.12) 85%, transparent);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__features-visual-name {
		color: #fff;
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__features-visual-caption {
		color: rgba(255, 255, 255, 0.45);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__features-visual-meta {
		border-top-color: rgba(255, 255, 255, 0.1);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-title {
		color: #fff;
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-card:hover,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-card:focus-visible {
		background: rgba(255, 255, 255, 0.08);
		border-color: rgba(91, 140, 255, 0.28);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-card:hover .cw-header__mega-title,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-card:focus-visible .cw-header__mega-title {
		color: #fff;
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega-thumb {
		border-color: rgba(255, 255, 255, 0.12);
		box-shadow: none;
	}

	/* Mega-menu „Współpraca” — pełna szerokość, dwie karty poziome */
	.cw-header__menu > li.menu-item-cw-cooperation {
		position: static;
	}

	.cw-header__menu > li.menu-item-cw-cooperation > .sub-menu {
		display: none;
	}

	.cw-header__menu > li.menu-item-cw-cooperation:hover > a,
	.cw-header__menu > li.menu-item-cw-cooperation.is-mega-open > a,
	.cw-header__menu > li.menu-item-cw-cooperation:focus-within > a,
	.cw-header__menu > li.menu-item-cw-cooperation:has(.cw-header__mega:hover) > a {
		color: var(--cw-black);
		background: var(--cw-stone);
	}

	.cw-header__mega.cw-header__mega--cooperation {
		left: 0;
		right: 0;
		width: 100%;
		padding: 1rem var(--cw-gutter, 1.5rem) 1.15rem;
		border-top: 1px solid rgba(10, 10, 10, 0.06);
		border-radius: 0;
		transform: translateY(-4px);
	}

	.cw-header__menu > li.menu-item-cw-cooperation:hover > .cw-header__mega--cooperation,
	.cw-header__menu > li.menu-item-cw-cooperation.is-mega-open > .cw-header__mega--cooperation,
	.cw-header__menu > li.menu-item-cw-cooperation:focus-within > .cw-header__mega--cooperation,
	.cw-header__menu > li.menu-item-cw-cooperation:has(.cw-header__mega:hover) > .cw-header__mega--cooperation,
	.cw-header__mega--cooperation.is-open {
		transform: translateY(0);
	}

	.cw-header__mega-bar--cooperation {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 0.75rem 1.25rem;
		padding-bottom: 0.35rem;
		border-bottom: none;
	}

	.cw-header__mega-main--cooperation {
		padding: 0;
	}

	.cw-header__coop-paths {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 clamp(2rem, 4vw, 3.5rem);
		padding: 1rem 0 0.35rem;
		background: transparent;
		border: none;
		border-top: 1px solid rgba(10, 10, 10, 0.06);
	}

	.cw-header__menu .cw-header__mega .cw-header__coop-path {
		border-radius: 0;
	}

	.cw-header__menu .cw-header__mega .cw-header__coop-path:hover,
	.cw-header__menu .cw-header__mega .cw-header__coop-path:focus-visible {
		background: transparent;
		color: inherit;
	}

	.cw-header__coop-path {
		position: relative;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-rows: auto auto;
		grid-template-areas:
			"index copy"
			"index cta";
		align-content: start;
		column-gap: 1.1rem;
		row-gap: 1rem;
		padding: 0.5rem 0 0.75rem;
		border: 0;
		border-radius: 0;
		text-decoration: none;
		color: inherit;
		background: transparent;
		transition: color 0.2s var(--cw-ease);
	}

	.cw-header__coop-path + .cw-header__coop-path {
		padding-left: clamp(1.75rem, 3.5vw, 2.75rem);
	}

	.cw-header__coop-path + .cw-header__coop-path::before {
		content: "";
		position: absolute;
		left: 0;
		top: 0.35rem;
		bottom: 0.35rem;
		width: 1px;
		background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.08) 15%, rgba(10, 10, 10, 0.08) 85%, transparent);
	}

	.cw-header__coop-path:hover,
	.cw-header__coop-path:focus-visible {
		background: transparent;
		outline: none;
		box-shadow: none;
	}

	.cw-header__coop-path-index {
		grid-area: index;
		padding-top: 0.15rem;
		font-size: 0.625rem;
		font-weight: 500;
		font-variant-numeric: tabular-nums;
		letter-spacing: 0.08em;
		color: rgba(10, 10, 10, 0.28);
	}

	.cw-header__coop-path-copy {
		grid-area: copy;
		display: flex;
		flex-direction: column;
		gap: 0.45rem;
		min-width: 0;
	}

	.cw-header__coop-path-kicker {
		font-size: 0.625rem;
		font-weight: 500;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		color: rgba(10, 10, 10, 0.38);
	}

	.cw-header__coop-path-title {
		font-size: clamp(1rem, 1.5vw, 1.125rem);
		font-weight: 500;
		line-height: 1.28;
		letter-spacing: -0.03em;
		color: var(--cw-black);
		transition: color 0.2s var(--cw-ease);
	}

	.cw-header__coop-path-lead {
		font-size: 0.8125rem;
		line-height: 1.62;
		color: rgba(10, 12, 20, 0.5);
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}

	.cw-header__coop-path-cta {
		grid-area: cta;
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		font-size: 0.8125rem;
		font-weight: 500;
		letter-spacing: 0;
		text-transform: none;
		color: rgba(10, 10, 10, 0.55);
		white-space: nowrap;
		transition: color 0.2s var(--cw-ease), gap 0.2s var(--cw-ease);
	}

	.cw-header__coop-path-cta span[aria-hidden="true"] {
		color: var(--cw-blue);
	}

	.cw-header__coop-path:hover .cw-header__coop-path-title,
	.cw-header__coop-path:focus-visible .cw-header__coop-path-title {
		color: var(--cw-blue);
	}

	.cw-header__coop-path:hover .cw-header__coop-path-cta,
	.cw-header__coop-path:focus-visible .cw-header__coop-path-cta {
		gap: 0.55rem;
		color: rgba(10, 10, 10, 0.55);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li.menu-item-cw-cooperation:hover > a,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li.menu-item-cw-cooperation.is-mega-open > a,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li.menu-item-cw-cooperation:focus-within > a,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu > li.menu-item-cw-cooperation:has(.cw-header__mega:hover) > a {
		color: #fff;
		background: rgba(255, 255, 255, 0.12);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__mega--cooperation {
		background: rgba(12, 14, 20, 0.97);
		border-color: rgba(255, 255, 255, 0.08);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__coop-paths {
		border-top-color: rgba(255, 255, 255, 0.1);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__coop-path + .cw-header__coop-path::before {
		background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.12) 15%, rgba(255, 255, 255, 0.12) 85%, transparent);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__coop-path-index {
		color: rgba(255, 255, 255, 0.32);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__coop-path-title {
		color: #fff;
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__coop-path-lead {
		color: rgba(255, 255, 255, 0.58);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__coop-path-cta {
		color: rgba(255, 255, 255, 0.62);
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu .cw-header__mega .cw-header__coop-path:hover,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__menu .cw-header__mega .cw-header__coop-path:focus-visible {
		background: transparent;
		color: inherit;
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__coop-path:hover .cw-header__coop-path-title,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__coop-path:focus-visible .cw-header__coop-path-title {
		color: #a8c4ff;
	}

	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__coop-path:hover .cw-header__coop-path-cta,
	body.cw-home-premium .cw-header-wrap:not(.is-scrolled) .cw-header__coop-path:focus-visible .cw-header__coop-path-cta {
		color: rgba(255, 255, 255, 0.62);
	}
}
