/* Search Results List Shortcode */


.sr-page {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}


.sr-page .sr-header {
	background: #F4F3F2;
	padding: 32px 0;
	width: 100%;
	box-sizing: border-box;
}

.sr-page .sr-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
}

.sr-page .sr-header__text {
	font-family: 'Altone', sans-serif;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.2;
	color: #071739;
	margin: 0;
	padding: 0;
}

.sr-page .sr-header__text strong {
	font-weight: 700;
}

.sr-page .sr-header__clear {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 28px;
	line-height: 1;
	color: #071739;
	text-decoration: none;
	opacity: 0.7;
	transition: opacity 0.15s ease;
}

.sr-page .sr-header__clear:hover {
	opacity: 1;
}


.sr-page .sr-wrap {
	--sr-primary: #195757;
	--sr-text: #071739;
	--sr-tag-bg: #A4B5C4;
	--sr-tag-text: #071739;
	font-family: inherit;
	color: var(--sr-text);
	padding: 40px 0 0;
	box-sizing: border-box;
}

.sr-page .sr-wrap *,
.sr-page .sr-wrap *::before,
.sr-page .sr-wrap *::after {
	box-sizing: border-box;
}


.sr-page .sr-wrap .sr-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	margin: 0 0 32px;
	padding: 0;
	border: none;
}

.sr-page .sr-wrap .sr-tab {
	position: relative;
	display: inline-flex;
	align-items: center;
	background: transparent !important;
	border: none !important;
	padding: 10px 20px 13px !important;
	font-family: inherit;
	font-size: 22px !important;
	font-weight: 400;
	color: var(--sr-text) !important;
	cursor: pointer;
	line-height: 1.3;
	box-shadow: none !important;
	transition: color 0.15s ease;
}

.sr-page .sr-wrap .sr-tab::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: transparent;
}

.sr-page .sr-wrap .sr-tab:hover {
	color: var(--sr-primary) !important;
}

.sr-page .sr-wrap .sr-tab.is-active {
	font-weight: 700;
	color: var(--sr-text) !important;
	border-bottom: none !important;
	box-shadow: none !important;
}

.sr-page .sr-wrap .sr-tab.is-active::after {
	background: #071739;
}


.sr-page .sr-wrap .sr-list {
	margin: 0;
	padding: 0;
}


.sr-page .sr-wrap .sr-item {
	border-bottom: 1px solid #071739;
	padding: 28px 0;
	margin: 0;
}

.sr-page .sr-wrap .sr-item__inner {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}


.sr-page .sr-wrap .sr-item__media {
	flex-shrink: 0;
	display: block;
	width: 216px;
	height: 134px;
	overflow: hidden;
	border-radius: 5px;
	background: #e5e7eb;
}

.sr-page .sr-wrap .sr-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.3s ease;
}

/* People results: larger 300x300 square box, full photo (not cropped/zoomed). */
.sr-page .sr-wrap .sr-item--people .sr-item__media {
	width: 300px;
	height: 300px;
	max-width: 100%;
}
.sr-page .sr-wrap .sr-item--people .sr-item__media img {
	object-fit: contain;
}

.sr-page .sr-wrap .sr-item__media:hover img {
	transform: scale(1.04);
}


.sr-page .sr-wrap .sr-item__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}


.sr-page .sr-wrap .sr-item__tag {
	display: inline-block;
	align-self: flex-start;
	background: var(--sr-tag-bg);
	color: var(--sr-tag-text);
	font-size: 12px;
	font-weight: 400;
	padding: 4px 12px;
	border-radius: 2px;
	line-height: 1.4;
}


.sr-page .sr-wrap .sr-item__title,
.sr-page .sr-wrap h3.sr-item__title {
	font-size: 32px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--sr-text) !important;
}

.sr-page .sr-wrap .sr-item__title a,
.sr-page .sr-wrap h3.sr-item__title a {
	color: var(--sr-text) !important;
	text-decoration: none !important;
	box-shadow: none !important;
	font-size: inherit !important;
}

.sr-page .sr-wrap .sr-item__title a:hover,
.sr-page .sr-wrap h3.sr-item__title a:hover {
	color: var(--sr-primary) !important;
}


.sr-page .sr-wrap .sr-no-results {
	font-size: 16px;
	color: var(--sr-text);
	margin: 24px 0;
}


.sr-page .sr-wrap .sr-view-more-wrap {
	display: flex;
	justify-content: center;
	margin: 40px 0 0;
}

.sr-page .sr-wrap .sr-view-more[hidden] {
	display: none !important;
}

.sr-page .sr-wrap .sr-view-more,
.sr-page .sr-wrap button.sr-view-more {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 52px;
	min-height: 52px;
	padding: 0 32px !important;
	background: #071739 !important;
	background-color: #071739 !important;
	background-image: none !important;
	color: #fff !important;
	border: none !important;
	border-radius: 100px !important;
	font-family: inherit;
	font-weight: 700 !important;
	font-size: 13px !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none !important;
	transition: background-color 0.15s ease;
	line-height: 1;
}

.sr-page .sr-wrap .sr-view-more:hover,
.sr-page .sr-wrap .sr-view-more:focus,
.sr-page .sr-wrap button.sr-view-more:hover,
.sr-page .sr-wrap button.sr-view-more:focus {
	background: #195757 !important;
	background-color: #195757 !important;
	color: #fff !important;
}

.sr-page .sr-wrap .sr-view-more__icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
}

.sr-page .sr-wrap .sr-view-more__icon img {
	width: 32px;
	height: 32px;
	display: block;
}

.sr-page .sr-wrap .sr-view-more.is-loading {
	opacity: 0.85;
	cursor: wait;
	pointer-events: none;
}

.sr-page .sr-wrap .sr-view-more.is-loading .sr-view-more__icon img {
	display: none;
}

.sr-page .sr-wrap .sr-view-more__icon {
	position: relative;
}

.sr-page .sr-wrap .sr-view-more.is-loading .sr-view-more__icon::after {
	content: '';
	display: block;
	width: 22px;
	height: 22px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: sr-btn-spin 0.7s linear infinite;
}

@keyframes sr-btn-spin {
	to { transform: rotate(360deg); }
}



.sr-page .sr-wrap .sr-skeleton {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	padding: 28px 0;
	border-bottom: 1px solid #071739;
}

.sr-page .sr-wrap .sr-skeleton__media {
	flex-shrink: 0;
	width: 216px;
	height: 134px;
	border-radius: 5px;
	background: #e5e7eb;
	position: relative;
	overflow: hidden;
}

.sr-page .sr-wrap .sr-skeleton__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 6px;
}

.sr-page .sr-wrap .sr-skeleton__tag {
	width: 80px;
	height: 24px;
	border-radius: 2px;
	background: #e5e7eb;
	position: relative;
	overflow: hidden;
}

.sr-page .sr-wrap .sr-skeleton__line {
	height: 28px;
	border-radius: 4px;
	background: #e5e7eb;
	position: relative;
	overflow: hidden;
}

.sr-page .sr-wrap .sr-skeleton__line--wide  { width: 88%; }
.sr-page .sr-wrap .sr-skeleton__line--short { width: 55%; }


.sr-page .sr-wrap .sr-skeleton__media::after,
.sr-page .sr-wrap .sr-skeleton__tag::after,
.sr-page .sr-wrap .sr-skeleton__line::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.65) 50%, transparent 100%);
	background-size: 200% 100%;
	animation: sr-shimmer 1.4s ease-in-out infinite;
}

@keyframes sr-shimmer {
	0%   { background-position: -200% 0; }
	100% { background-position:  200% 0; }
}


@media (max-width: 768px) {
	.sr-page .sr-header__text {
		font-size: 28px;
	}

	.sr-page .sr-wrap .sr-tab {
		font-size: 16px !important;
		padding: 8px 12px !important;
	}

	.sr-page .sr-wrap .sr-item__media {
		width: 120px;
		height: 80px;
	}

	.sr-page .sr-wrap .sr-item__title {
		font-size: 22px;
	}
}

@media (max-width: 480px) {
	.sr-page .sr-wrap .sr-item__media {
		width: 90px;
		height: 60px;
	}

	.sr-page .sr-wrap .sr-item__title {
		font-size: 18px;
	}
}

/* Keep people's square box reasonable on smaller screens. */
@media (max-width: 768px) {
	.sr-page .sr-wrap .sr-item--people .sr-item__media { width: 160px; height: 160px; }
}

@media (max-width: 480px) {
	.sr-page .sr-wrap .sr-item--people .sr-item__media { width: 120px; height: 120px; }
}
