/* All template changes */
#wrapper .hero-v2 {
	& .herov2-l1__wrapper {
		& .herov2__asset-wrapper {
			@media (width >= 1200px) {
				& .herov2__asset-wrapper {
					height: 450px;
				}
			}
		}
	}
}

/* Header nav links on hover */
#wrapper .headerv2-container .slimheader-sublevel-slide .slimheader-slide-nav .slide-nav-contain nav a:is(:hover, :focus) {
	color: #000;

	&::after {
		filter: invert(1);
	}
}

#wrapper .headerv2-container.headerv2--dark header.slimheader-v2 .slim-navigation .nav-primary a:is(:hover, :focus) {
	color: #000 !important;

	&::after {
		filter: invert(1);
	}
}

#wrapper  .headerv2-container header.slimheader-v2 .slim-navigation .nav-primary .nav-more .nav-more-dropdown a:is(:hover, :focus) {
	color: #000 !important;
}

/* Territory selector links on hover */
#wrapper .headerv2-container .location-options {
	.option-country--open .territory-selector .territory-selector-list,
	.option-language .slim-language-selector .language-selector-list {
		a:is(:hover, :focus) {
			color: #000;
		}
	}
}

/* OneTrust colors */
#onetrust-consent-sdk #onetrust-accept-btn-handler:not(:hover, :focus),
#onetrust-consent-sdk #onetrust-reject-all-handler:not(:hover, :focus),
#onetrust-pc-sdk #accept-recommended-btn-handler:not(:hover, :focus),
#onetrust-consent-sdk #onetrust-pc-btn-handler:not(:hover, :focus),
#onetrust-consent-sdk #onetrust-pc-btn-handler.cookie-setting-link:not(:hover, :focus) {
	color: #000 !important;
}

/* BU template changes */
body.bu-theme,
body:has(link[rel="stylesheet"][href*="reduced-bu.css"]),
body:has(link[rel="stylesheet"][href*="bu-colors.css"]) {
	/* Buttons behaviour tweaks */
	#wrapper {
		.btn:not(:hover, :focus) {
			&:is(.btn-cta--primary, .btn-cta--red, .btn-cta--orange, .btn-cta--digitalrose) {
				color: #000;

				i {
					filter: invert(1);
				}
			}
		}

		.text-component p .btn.btn-cta--primary.btn-cta:not(:hover, :focus) i {
			filter: invert(1);
		}

		.collection-v3 {
			.collection__more-links .btn:not(:hover, :focus) {
				&.btn--transparent.primary {
					color: #000;
				}
			}

			.collection-v3-listing .collectionv2-component .filter .filter-option-item > li > input:checked + a.checkbox-custom-label {
				color: #000;

				&::before {
					background-color: transparent;
					filter: invert(1);
				}
			}
		}

		.title-icls .title-strip .content-detail-social-share .btn:not(:hover, :focus) {
			&.btn--primary {
				color: #000;
			}
		}

		.people_collection-links .btn:not(:hover, :focus) {
			&.btn--transparent.primary {
				color: #000;
			}
		}

		.cta-card-wrapper .cta-card .button.cta-btn-primary a.cta-btn:not(:hover, :focus) {
			color: #000;

			&::after {
				background-color: #000;
				filter: invert(0);
			}
		}

		.signpost :is(.signpost-card--primary, .signpost-card--secondary) .cta-btn-primary .cta-btn:not(:hover, :focus) {
			color: #000;

			&::after {
				background-color: #000;
				filter: invert(0);
			}
		}

		.videoplayer-v3 {
			.videojs-description .video-buttons .cta-button:not(:hover, :focus) {
				color: #000;
			}

			.series-container-default .wrapper .thumbnail.now-playing .video-label {
				color: #000;
			}
		}
	}

	/* Cross page links on hover */
	#wrapper .crosspage a:is(:hover, :active, :focus) {
		color: #000;
	}

	/* SuperHero tweaks */
	.superhero__wrapper .superhero__content-wrapper .superhero__button-wrapper .superhero__button {
		.cta-btn {
			font-size: 16px;

			.cta-btn-primary:not(:hover, :focus) & {
				color: #000;

				&.icon-btn::after {
					background-color: #000;
				}
			}
		}
	}

	/* Hero v2 tweaks */
	.hero-v2 .herov2__wrapper .herov2__button-wrapper .cta-btn {
		font-size: 16px;

		.cta-btn-primary &:not(:hover, :focus) {
			color: #000;

			&::after {
				filter: invert(1);
			}
		}
	}

	/* PI */
	#wrapper .dotted-progress-indicator .dotted-indicator-menu li.active a {
		color: #000;
	}

	@media (width < 992px) {
		#wrapper .dot-prog-ind button::before {
			filter: invert(1);
		}
	}
}

/* Specific to full scope theme overwrites */
body:has(link[rel="stylesheet"][href*="reduced-bu.css"]),
body:has(link[rel="stylesheet"][href*="bu-colors.css"]) {
	#wrapper .collection-v2 .collectionv2-component .collection__more-links .btn:not(:hover, :focus) {
		&.btn--transparent.primary {
			color: #000;
		}
	}

	#wrapper .pwc-forms .pwc-forms__footer .btn:not(:hover, :focus) {
		&.btn--primary {
			color: #000;
		}
	}

	/* Summary explorer current tab */
	#wrapper .summary-explorerv2__link-listing li.cmp-tabs__tab.cmp-tabs__tab--active {
		color: #000;
	}

	/* Tabs current tab */
	#wrapper .tabsnew .nav li.active a {
		color: #000;
	}
}
