/* Color */
.shl--header,
.shl--footer,
.shl--section {
	--theme-color-yellow: #ffb600;
	--theme-color-grey: #e5e5e5;
	--theme-color-pink: #db536a;
	--theme-color-rose: #d93954;
}

/* Header and Footer */
.shl--header,
.shl--footer {
	padding: 10px 0px;
}

.shl--header {
	position: relative;
	color: #000;
	background: #fff;
	box-shadow: 0px 0px 6px #444;
	z-index: 1;
}

.shl--footer {
	color: #fff;
	background: #464646;
}

.shl--header .shl--header-content,
.shl--footer .shl--footer-content {
	display: flex;
	margin: 0px auto;
	padding: 0px 15px;
	max-width: 1600px;
	flex-flow: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.shl--header .shl--header-logo {
	display: block;
	width: auto;
	height: 32px;
	aspect-ratio: 70 / 53;
	background-image: url("https://www.pwc.com/etc.clientlibs/pwc/clientlibs/rebrand-clientlibs/components-colors/resources/images/slim-header-v2/PwC-logo.svg");
	background-repeat: no-repeat;
	background-size: cover;
}

:is(.shl--header .shl--header-nav, .shl--footer .shl--footer-nav) ul {
	display: flex;
	margin: 0px;
	padding: 0px;
	flex-flow: row;
	flex-wrap: wrap;
	column-gap: 20px;
	list-style-type: none;
}

:is(.shl--header .shl--header-nav, .shl--footer .shl--footer-nav) ul li {
	margin: 0px;
	padding: 0px;
}

:is(.shl--header .shl--header-nav, .shl--footer .shl--footer-nav) a {
	display: block;
	padding: 5px 0px;
	text-decoration: none;
	font-weight: bold;
	color: inherit;
	transition: opacity 0.2s ease;
}

.shl--header .shl--header-nav a {
	opacity: 0.8;
}

.shl--footer .shl--footer-nav a {
	opacity: 1;
}

:is(.shl--header .shl--header-nav, .shl--footer .shl--footer-nav) a:is(:hover, :focus) {
	text-decoration: none;
}

.shl--header .shl--header-nav a:is(:hover, :focus) {
	opacity: 1;
}

.shl--footer .shl--footer-nav a:is(:hover, :focus) {
	opacity: 0.8;
}

/* Button */
:is(.shl--section, .shl--header, .shl--footer) .btn {
	display: inline-block;
	padding: 10px 15px !important;
	width: fit-content;
	max-width: 100%;
	font-size: 18px;
	font-weight: bold;
	border-radius: 5px;
	text-decoration: none;
	border: none !important;
	transition: all 0.2s ease;
}

:is(.shl--header, .shl--footer) .btn {
	color: #464646 !important;
	background: #dedede !important;
}

.shl--section .btn {
	color: #000 !important;
	background: var(--theme-color-yellow) !important;
}

.shl--section.shl--section-white .btn {
	background: var(--theme-color-grey) !important;
}

:is(.shl--section, .shl--header, .shl--footer) .btn:is(:hover, :focus) {
	text-decoration: none !important;
}

:is(.shl--header, .shl--footer) .btn:is(:hover, :focus) {
	color: inherit !important;
	background: transparent !important;
}

.shl--section .btn:is(:hover, :focus) {
	color: #000 !important;
	background: #fff !important;
}

.shl--section.shl--section-white .btn:is(:hover, :focus) {
	color: #fff !important;
	background: #000 !important;
}

/* Section */
.shl--section {
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-position: center !important;
	box-sizing: content-box;
}

html:not(.aem-AuthorLayer-Edit) .shl--section.shl--section-viewport-height {
	display: flex;
	flex-flow: column;
	justify-content: center;
	min-height: 400px;
}

.shl--section.shl--section--bgbr {
	padding-bottom: 250px;
	background-size: 500px !important;
	background-position: bottom -100px right 0px !important;
}

@media screen and (min-width: 992px) {
	.shl--section.shl--section--bgbr {
		background-size: 600px !important;
	}
}

.shl--section.shl--section--bgbr:not(.fullwidth) {
	background-position: bottom -150px right 0px !important;
}

.shl--section.shl--section-yellow {
	color: #000;
	background-color: var(--theme-color-yellow) !important;
}

.shl--section.shl--section-grey {
	color: #000;
	background-color: var(--theme-color-grey) !important;
}

.shl--section.shl--section-pink {
	color: #fff;
	background-color: var(--theme-color-pink) !important;
}

.shl--section.shl--section-rose {
	color: #fff;
	background-color: var(--theme-color-rose) !important;
}

.shl--section.shl--section-heading-yellow .text :is(h1, h2, h3, h4, h5, h6) {
	color: var(--theme-color-yellow) !important;
}

.shl--section.shl--section-heading-grey .text :is(h1, h2, h3, h4, h5, h6) {
	color: var(--theme-color-grey) !important;
}

.shl--section.shl--section-heading-pink .text :is(h1, h2, h3, h4, h5, h6) {
	color: var(--theme-color-pink) !important;
}

.shl--section.shl--section-heading-rose .text :is(h1, h2, h3, h4, h5, h6) {
	color: var(--theme-color-rose) !important;
}

/* Section text styles */
.shl--section.shl--section-main .text {
	max-width: 50%;
}

.shl--section.shl--section-main .parsys_column .text {
	max-width: unset;
}

.shl--section .text .text-component {
	padding: 0px !important; /* Get rid of right padding injected by DPE as it is breaking center alignment */
}

.shl--section .text :not(.btn) {
	color: inherit !important;
}

.shl--section .text :is(h2, h3, h4, h5, h6) {
	font-family: "PwC Helvetica Neue", Arial, Sans-Serif;
}

.shl--section .text.text-component-lead h2 {
	font-size: 2.75rem;
}

.shl--section .text.text-component-lead h3 {
	font-size: 2rem;
}

.shl--section .text.text-component-lead p {
	margin: 20px 0px;
	padding: 0px;
	font-size: 1.45rem;
	line-height: 1.25em;
}

.shl--section.shl--section-grey .text :is(h2, h3) {
	color: var(--theme-color-pink) !important;
}

/* Cards section */
.shl--cards .text h2 {
	display: flex;
	flex-flow: row;
	align-items: center;
	gap: 20px;
}

.shl--cards .text h2::after {
	content: "";
	display: block;
	height: 2px;
	background: #000;
	flex-grow: 1;
}

.shl--cards .text .text-component {
	margin: 0px !important;
	padding: 0px !important;
	width: 100% !important;
}

/* Card list */
.shl--card-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	padding: 40px 0px;
}

.shl--card-list .shl--card-item {
	display: flex;
	flex-flow: column;
	justify-content: stretch;
	color: #fff;
	background: var(--theme-color-rose);
}

.shl--card-list .shl--card-item .shl--card-item-image {
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
}

.shl--card-list .shl--card-item .shl--card-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.shl--card-list .shl--card-item:is(:hover, :focus) .shl--card-item-image img {
	transform: scale(1.1);
}

.shl--card-list .shl--card-item .shl--card-item-content {
	display: grid;
	/* grid-template-columns: 2fr 1fr; */
	grid-template-columns: 1fr;
	gap: 10px;
	align-content: space-between;
	padding: 10px;
	flex-grow: 1;
}

.shl--card-list .shl--card-item .shl--card-item-content .shl--card-item-title {
	display: block;
	font-size: 1.15em;
	font-weight: bold;
}

.shl--card-list .shl--card-item .shl--card-item-content .shl--card-item-time {
	font-weight: bold;
	justify-self: end;
}

.shl--card-list .shl--card-item .shl--card-item-content .shl--card-item-time::before {
	content: "";
	display: inline-block;
	margin: 0px 10px 0px 0px;
	height: 1em;
	aspect-ratio: 1/1;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M8 3a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1zM3 14a9 9 0 0 1 14.618-7.032l.675-.675a1 1 0 1 1 1.414 1.414l-.675.675A9 9 0 1 1 3 14zm10-4a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4z' clip-rule='evenodd'/%3E%3C/svg%3E%0A");
	vertical-align: text-top;
	filter: invert(100%);
}

.shl--card-list .shl--card-item .shl--card-item-content .shl--card-item-tag {
	display: block;
	padding: 5px 10px;
	width: fit-content;
	color: #000;
	background: #fff;
	border-radius: 5px;
	justify-self: end;
}

.shl--card-list .shl--card-item .shl--card-item-content .shl--card-item-label::after {
	content: "";
	display: inline-block;
	margin-left: 6px;
	padding: 5px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	transform: rotate(45deg);
}

@media screen and (min-width: 480px) {
	.shl--card-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (min-width: 768px) {
	.shl--card-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Card active content */
html:not(.aem-AuthorLayer-Edit) .shl--card:not(.shl--card-visible) {
	display: none;
}

.shl--active-content-wrapper:not(.shl--active-content-active) {
	display: none;
}

.shl--card-list.shl--card-list-hidden {
	display: none;
}

.shl--active-content-wrapper {
	margin: 20px 0px;
	color: #000;
	background-color: #fff;
}

.shl--active-content-wrapper .text {
	margin: 20px 0px !important;
}

.shl--active-content-wrapper .shl--active-content-container {
	padding: 0px;
}

.shl--active-content-wrapper .shl--active-content-hero {
	background: #000;
	overflow: hidden;
}

.shl--active-content-wrapper .shl--active-content-hero:not(:empty) {
	margin: 10px 0px -80px 0px;
	aspect-ratio: 4 / 1;
}

.shl--active-content-wrapper .shl--active-content-hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
}

.shl--active-content-wrapper .shl--active-content-body {
	position: relative;
	margin: 0px 10vw;
	padding: 40px;
	background: #fff;
	box-shadow: 1px 0px 3px #aaa;
	border-radius: 4px;
	overflow: hidden;
}

.shl--active-content-wrapper .shl--active-content-body .text :is(h2, h3):first-of-type {
	margin: 0px;
	font-size: 2.25rem;
	line-height: 1.25em;
	color: var(--theme-color-rose) !important;
}

.shl--active-content-wrapper .shl--active-content-close {
	display: block;
	margin: 40px 0px 0px 0px;
	padding: 10px 15px;
	width: fit-content;
	color: #fff;
	background: var(--theme-color-rose);
}

.shl--active-content-wrapper .shl--active-content-close:is(:hover, :focus) {
	background: #000;
}

.shl--active-content-wrapper .shl--active-content-close::before {
	content: "";
	display: inline-block;
	margin: 0px 10px 0px 0px;
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(-45deg);
}

/* Background image */
.shl--bg-image {
	display: block;
	margin: 0px 0px 0px auto;
	max-width: 100%;
}
