/**
 * Scoped styles for archive.php and single.php only.
 *
 * @package SwissShine
 */

.ss-system-archive,
.ss-system-single {
	background: var(--ss-bg);
	color: var(--ss-text);
}

.ss-system-archive *,
.ss-system-single * {
	min-width: 0;
}

.ss-system-archive-hero,
.ss-system-single-hero {
	background: linear-gradient(125deg, #032c55 0%, #035ba9 58%, #087edc 100%);
	color: #fff;
	overflow: hidden;
	padding: 170px 0 82px;
	position: relative;
}

.ss-system-archive-hero::before,
.ss-system-single-hero::before {
	background: radial-gradient(circle, rgba(222, 100, 170, .43), transparent 68%);
	content: "";
	height: 540px;
	pointer-events: none;
	position: absolute;
	right: -150px;
	top: -230px;
	width: 540px;
}

.ss-system-archive-hero::after,
.ss-system-single-hero::after {
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 50%;
	bottom: -280px;
	content: "";
	height: 530px;
	left: -180px;
	pointer-events: none;
	position: absolute;
	width: 530px;
}

.ss-system-archive-hero .container,
.ss-system-single-hero .container {
	position: relative;
	z-index: 1;
}

.ss-system-breadcrumbs {
	align-items: center;
	color: rgba(255, 255, 255, .68);
	display: flex;
	flex-wrap: wrap;
	font-size: .8rem;
	gap: .55rem;
	margin-bottom: 28px;
}

.ss-system-breadcrumbs a {
	color: rgba(255, 255, 255, .88);
}

.ss-system-breadcrumbs a:hover {
	color: #fff;
}

.ss-system-kicker {
	align-items: center;
	color: #f6a7d4;
	display: flex;
	font-size: .78rem;
	font-weight: 800;
	gap: .5rem;
	letter-spacing: .09em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.ss-system-archive-heading {
	align-items: end;
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.ss-system-archive-heading h1,
.ss-system-single-heading h1 {
	color: #fff;
	font-size: clamp(2.45rem, 5.5vw, 5rem);
	line-height: 1.04;
	margin: 0;
	max-width: 950px;
	overflow-wrap: anywhere;
}

.ss-system-archive-description,
.ss-system-single-lead {
	color: rgba(255, 255, 255, .82);
	font-size: clamp(1rem, 1.7vw, 1.18rem);
	line-height: 1.75;
	margin-top: 20px;
	max-width: 760px;
}

.ss-system-archive-description > :last-child {
	margin-bottom: 0;
}

.ss-system-archive-count {
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, .11);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 18px;
	min-width: 175px;
	padding: 20px;
}

.ss-system-archive-count strong {
	color: #fff;
	display: block;
	font-size: 2rem;
	line-height: 1;
}

.ss-system-archive-count span {
	color: rgba(255, 255, 255, .72);
	display: block;
	font-size: .78rem;
	margin-top: 8px;
}

.ss-system-archive-content,
.ss-system-single-content {
	padding: clamp(64px, 8vw, 105px) 0;
}

.ss-system-archive-grid {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ss-system-card {
	background: var(--ss-surface, #fff);
	border: 1px solid var(--ss-border);
	border-radius: 24px;
	box-shadow: 0 16px 44px rgba(3, 91, 169, .08);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.ss-system-card:hover {
	border-color: rgba(222, 100, 170, .48);
	box-shadow: 0 26px 64px rgba(3, 91, 169, .15);
	transform: translateY(-6px);
}

.ss-system-card-media {
	display: block;
	overflow: hidden;
	position: relative;
}

.ss-system-card-image,
.ss-system-card-placeholder {
	aspect-ratio: 16 / 10;
	display: block;
	width: 100%;
}

.ss-system-card-image {
	object-fit: cover;
	transition: transform .45s ease;
}

.ss-system-card:hover .ss-system-card-image {
	transform: scale(1.045);
}

.ss-system-card-placeholder {
	align-items: center;
	background: linear-gradient(135deg, #e9f4fe, #fff0f8);
	color: var(--ss-primary);
	display: flex;
	font-size: 3.5rem;
	justify-content: center;
}

.ss-system-card-location {
	align-items: center;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, .94);
	border-radius: 999px;
	bottom: 14px;
	color: var(--ss-secondary);
	display: inline-flex;
	font-size: .74rem;
	font-weight: 800;
	gap: .4rem;
	left: 14px;
	max-width: calc(100% - 28px);
	padding: 8px 11px;
	position: absolute;
}

.ss-system-card-location i {
	color: var(--ss-accent);
}

.ss-system-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 25px;
}

.ss-system-card-category {
	color: var(--ss-accent);
	font-size: .73rem;
	font-weight: 800;
	letter-spacing: .07em;
	margin: 0 0 9px;
	text-transform: uppercase;
}

.ss-system-card-body h2 {
	font-size: clamp(1.28rem, 2vw, 1.55rem);
	letter-spacing: -.025em;
	line-height: 1.2;
	margin: 0 0 12px;
	overflow-wrap: anywhere;
}

.ss-system-card-body h2 a {
	color: var(--ss-card-title, var(--ss-heading));
}

.ss-system-card-body h2 a:hover {
	color: var(--ss-primary);
}

.ss-system-card-excerpt {
	color: var(--ss-muted);
	font-size: .94rem;
	line-height: 1.7;
	margin-bottom: 18px;
}

.ss-system-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.ss-system-card-meta span {
	align-items: center;
	background: rgba(2, 111, 205, .07);
	border: 1px solid rgba(2, 111, 205, .11);
	border-radius: 999px;
	color: var(--ss-secondary);
	display: inline-flex;
	font-size: .72rem;
	font-weight: 700;
	gap: .35rem;
	padding: 6px 9px;
}

.ss-system-card-link {
	align-items: center;
	color: var(--ss-primary);
	display: inline-flex;
	font-size: .9rem;
	font-weight: 800;
	gap: .45rem;
	margin-top: auto;
}

.ss-system-card-link i {
	transition: transform .2s ease;
}

.ss-system-card-link:hover i {
	transform: translateX(4px);
}

.ss-system-pagination .nav-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 46px;
}

.ss-system-pagination .page-numbers {
	border-radius: 12px;
	height: 44px;
	min-width: 44px;
	padding: 0 12px;
}

.ss-system-empty {
	background: var(--ss-surface, #fff);
	border: 1px solid var(--ss-border);
	border-radius: 24px;
	box-shadow: 0 16px 44px rgba(3, 91, 169, .08);
	padding: clamp(35px, 7vw, 70px);
	text-align: center;
}

.ss-system-empty > i {
	color: var(--ss-primary);
	display: block;
	font-size: 3rem;
	margin-bottom: 18px;
}

.ss-system-empty h2 {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.ss-system-single-heading {
	max-width: 1000px;
}

.ss-system-single-layout {
	align-items: start;
	display: grid;
	gap: clamp(34px, 5vw, 70px);
	grid-template-columns: minmax(0, 1fr) minmax(290px, 375px);
}

.ss-system-single-main {
	min-width: 0;
}

.ss-system-single-featured {
	margin: 0 0 38px;
}

.ss-system-single-featured img {
	border-radius: 26px;
	box-shadow: 0 22px 58px rgba(3, 91, 169, .13);
	display: block;
	height: auto;
	max-height: 620px;
	object-fit: cover;
	width: 100%;
}

.ss-system-single-copy {
	color: var(--ss-text);
	font-size: 1.03rem;
	line-height: 1.85;
}

.ss-system-single-copy > :first-child {
	margin-top: 0;
}

.ss-system-single-copy h2 {
	font-size: clamp(1.75rem, 3.5vw, 2.65rem);
	line-height: 1.18;
	margin-top: 1.35em;
}

.ss-system-single-copy h3 {
	font-size: clamp(1.25rem, 2.3vw, 1.65rem);
	line-height: 1.25;
	margin-top: 1.55em;
}

.ss-system-single-copy img {
	border-radius: 20px;
	height: auto;
	max-width: 100%;
}

.ss-system-single-copy ul,
.ss-system-single-copy ol {
	padding-left: 1.25rem;
}

.ss-system-single-copy li {
	margin-bottom: .55rem;
}

.ss-system-single-copy blockquote {
	background: var(--ss-surface, #fff);
	border-left: 4px solid var(--ss-accent);
	border-radius: 0 18px 18px 0;
	margin: 2rem 0;
	padding: 22px 25px;
}

.ss-system-single-sidebar {
	display: grid;
	gap: 20px;
	position: sticky;
	top: 120px;
}

.ss-system-info-card,
.ss-system-quote-card {
	background: var(--ss-surface, #fff);
	border: 1px solid var(--ss-border);
	border-radius: 24px;
	box-shadow: 0 18px 50px rgba(3, 91, 169, .09);
	padding: 27px;
}

.ss-system-info-card h2,
.ss-system-quote-card h2 {
	font-size: 1.3rem;
	line-height: 1.25;
	margin: 0 0 20px;
}

.ss-system-info-card ul {
	display: grid;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ss-system-info-card li {
	align-items: start;
	border-bottom: 1px solid var(--ss-border);
	display: grid;
	gap: 11px;
	grid-template-columns: 40px minmax(0, 1fr);
	padding: 14px 0;
}

.ss-system-info-card li:first-child {
	padding-top: 0;
}

.ss-system-info-card li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.ss-system-info-card li > i {
	align-items: center;
	background: rgba(2, 111, 205, .1);
	border-radius: 11px;
	color: var(--ss-primary);
	display: flex;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.ss-system-info-card small {
	color: var(--ss-muted);
	display: block;
	font-size: .72rem;
	line-height: 1.3;
	margin-bottom: 4px;
}

.ss-system-info-card strong {
	color: var(--ss-card-title, var(--ss-heading));
	display: block;
	font-size: .9rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.ss-system-info-card strong a {
	color: inherit;
}

.ss-system-quote-card {
	background: linear-gradient(145deg, #062f59, #035ba9);
	border: 0;
	color: rgba(255, 255, 255, .82);
}

.ss-system-quote-card h2 {
	color: #fff;
}

.ss-system-quote-card .btn {
	width: 100%;
}

.ss-system-phone {
	align-items: center;
	color: #fff;
	display: flex;
	font-size: .88rem;
	gap: .5rem;
	justify-content: center;
	margin-top: 14px;
}

.ss-system-phone:hover {
	color: #f6a7d4;
}

.ss-system-single-footer {
	border-top: 1px solid var(--ss-border);
	margin-top: 35px;
	padding-top: 24px;
}

.ss-system-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ss-system-tags a {
	background: rgba(2, 111, 205, .08);
	border: 1px solid rgba(2, 111, 205, .12);
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 700;
	padding: 7px 10px;
}

.ss-system-post-navigation .nav-links {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 60px;
}

.ss-system-post-navigation .nav-previous,
.ss-system-post-navigation .nav-next {
	min-width: 0;
}

.ss-system-post-navigation .nav-next {
	text-align: right;
}

.ss-system-post-navigation a {
	background: var(--ss-surface, #fff);
	border: 1px solid var(--ss-border);
	border-radius: 18px;
	display: block;
	height: 100%;
	padding: 20px;
}

.ss-system-post-navigation small {
	color: var(--ss-muted);
	display: block;
	font-size: .72rem;
	margin-bottom: 5px;
}

.ss-system-post-navigation span {
	color: var(--ss-card-title, var(--ss-heading));
	display: block;
	font-weight: 750;
	overflow-wrap: anywhere;
}

.swiss_shine-dark-mode .ss-system-card,
.swiss_shine-dark-mode .ss-system-empty,
.swiss_shine-dark-mode .ss-system-info-card,
.swiss_shine-dark-mode .ss-system-post-navigation a,
.swiss_shine-dark-mode .ss-system-single-copy blockquote {
	background: var(--ss-surface);
}

.swiss_shine-dark-mode .ss-system-card-placeholder {
	background: linear-gradient(135deg, rgba(2, 111, 205, .18), rgba(222, 100, 170, .14));
}

.swiss_shine-dark-mode .ss-system-card-meta span,
.swiss_shine-dark-mode .ss-system-tags a {
	background: rgba(255, 255, 255, .07);
	border-color: var(--ss-border);
	color: var(--ss-text);
}

@media (max-width: 991.98px) {
	.ss-system-archive-heading,
	.ss-system-single-layout {
		grid-template-columns: 1fr;
	}

	.ss-system-archive-count {
		max-width: 260px;
	}

	.ss-system-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ss-system-single-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		position: static;
	}
}

@media (max-width: 767.98px) {
	.ss-system-archive-hero,
	.ss-system-single-hero {
		padding: 130px 0 62px;
	}

	.ss-system-archive-grid,
	.ss-system-single-sidebar {
		grid-template-columns: 1fr;
	}

	.ss-system-single-featured img {
		border-radius: 20px;
	}

	.ss-system-post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.ss-system-post-navigation .nav-next {
		text-align: left;
	}
}

@media (max-width: 575.98px) {
	.ss-system-archive-heading h1,
	.ss-system-single-heading h1 {
		font-size: clamp(2.15rem, 11vw, 3.15rem);
	}

	.ss-system-card-body,
	.ss-system-info-card,
	.ss-system-quote-card {
		padding: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ss-system-card,
	.ss-system-card-image,
	.ss-system-card-link i {
		transition: none;
	}
}
