/**
 * Partner Shortlist Template Styles
 * For "Top 10 EOR" style articles
 */

.partner-shortlist {
	background: #f8f7f5;
}

.shortlist-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Shortlist Hero Section */
.shortlist-hero {
	background: linear-gradient(135deg, #e8ecf0 0%, #f5f7fa 50%, #d4d9e8 100%);
	background-image: url('/wp-content/uploads/2025/12/warm-bg.svg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 120px 0 60px;
	text-align: left;
	position: relative;
}

/* Breadcrumbs */
.shortlist-breadcrumbs {
	font-size: 14px;
	color: #6b6764;
	margin-bottom: 32px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
}

.shortlist-breadcrumbs a {
	color: #6b6764;
	text-decoration: none;
	transition: color 0.2s;
}

.shortlist-breadcrumbs a:hover {
	color: #1c1c1b;
}

.shortlist-breadcrumbs .breadcrumb-separator {
	color: #c8bfb3;
}

.shortlist-breadcrumbs .breadcrumb-current {
	color: #1c1c1b;
	font-weight: 500;
}

.shortlist-hero__title {
	font-size: 48px;
	font-weight: 500;
	line-height: 1.2;
	color: #1a1a1a;
	margin: 0 0 32px 0;
	text-align: left;
}

.shortlist-hero__meta {
	display: flex;
	gap: 24px;
	font-size: 14px;
	color: #666;
	margin-bottom: 24px;
	justify-content: center;
	align-items: center;
}

.shortlist-meta__author {
	font-weight: 600;
	color: #4a4846;
}

.shortlist-meta__date {
	color: #6b6764;
}

/* Author Profile */
.shortlist-author-profile {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 900px;
	margin-top: 0;
}

.shortlist-author-profile__left {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.shortlist-author-profile__avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 2px solid #e5e7eb;
}

.shortlist-author-profile__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shortlist-author-profile__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.shortlist-author-profile__name {
	font-size: 16px;
	font-weight: 600;
	color: #a855f7;
	text-decoration: none;
	transition: color 0.2s;
}

.shortlist-author-profile__name:hover {
	color: #9333ea;
}

.shortlist-author-profile__date {
	font-size: 14px;
	color: #6b6764;
}

.shortlist-author-profile__divider {
	width: 1px;
	height: 40px;
	background: #9ca3af;
	margin: 0 5px;
	flex-shrink: 0;
}

.shortlist-author-profile__bio {
	width: 400px;
	font-size: 15px;
	line-height: 1.6;
	color: #374151;
	flex-shrink: 0;
}

/* Summary Section */
.shortlist-summary-section {
	background: white;
	padding: 60px 0;
	border-bottom: 1px solid #e5e7eb;
}

.shortlist-hero__summary {
	max-width: 700px;
	margin-left: 0;
	margin-right: auto;
	text-align: left;
}

.shortlist-hero__summary p {
	font-size: 22px;
	line-height: 1.5;
	color: #1a1a1a;
	margin: 0 0 20px 0;
	font-weight: 400;
}

/* Content Section */
.shortlist-content {
	padding: 64px 0;
	background: white;
}

.shortlist-picks-title {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 24px 0;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e7eb;
}

/* Top Picks List */
.shortlist-top-picks {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.top-pick-item {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid #e5e7eb;
}

.top-pick-item:last-child {
	border-bottom: none;
}

.top-pick__number {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
	min-width: 24px;
	flex-shrink: 0;
}

.top-pick__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.top-pick__name {
	font-size: 16px;
	font-weight: 400;
	color: #a855f7;
	text-decoration: none;
	transition: color 0.2s;
}

.top-pick__name:hover {
	color: #9333ea;
	text-decoration: underline;
}

.top-pick__specialty {
	font-size: 15px;
	font-weight: 400;
	color: #1a1a1a;
	line-height: 1.5;
}

.top-pick__value {
	font-size: 15px;
	font-weight: 400;
	color: #6b7280;
	text-align: right;
	flex-shrink: 0;
	max-width: 300px;
}

/* Intro Sections */
.shortlist-intro {
	background: white;
	padding: 60px 0;
	border-bottom: 1px solid #e5e7eb;
}

.shortlist-intro .shortlist-container {
	max-width: 952px;
}

.intro-section {
	margin-bottom: 64px;
}

.intro-section:last-child {
	margin-bottom: 0;
}

.intro-section__title {
	font-size: 40px;
	font-weight: 500;
	color: #1a1a1a;
	margin: 0 0 32px 0;
	line-height: 1.2;
}

.intro-section__content {
	font-size: 18px;
	line-height: 1.7;
	color: #6b7280;
	font-weight: 400;
}

.intro-section__content p {
	margin-bottom: 24px;
}

.intro-section__content p:last-child {
	margin-bottom: 0;
}

/* Comparison Table */
.shortlist-comparison {
	padding: 60px 0;
	background: white;
}

.comparison__title {
	font-size: 40px;
	font-weight: 500;
	color: #1a1a1a;
	margin: 0 0 32px 0;
	text-align: left;
}

.comparison-table-wrapper {
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	overflow: hidden;
	background: white;
}

.comparison-table-header {
	display: grid;
	grid-template-columns: 320px 1fr;
	background: #f3f4f6;
	padding: 20px 40px;
	gap: 40px;
}

.comparison-header-col {
	font-size: 16px;
	font-weight: 600;
	color: #6b7280;
}

.comparison-items {
	display: flex;
	flex-direction: column;
}

.comparison-item {
	display: grid;
	grid-template-columns: 320px 1fr auto;
	gap: 40px;
	padding: 32px 40px;
	border-bottom: 1px solid #e5e7eb;
	align-items: center;
}

.comparison-item:last-child {
	border-bottom: none;
}

.comparison-item__left {
	display: flex;
	align-items: center;
	gap: 24px;
}

.comparison-item__number {
	font-size: 20px;
	font-weight: 600;
	color: #1a1a1a;
	min-width: 24px;
	flex-shrink: 0;
}

.comparison-item__provider {
	display: flex;
	align-items: center;
	gap: 16px;
}

.comparison-item__logo {
	width: 64px;
	height: 64px;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	flex-shrink: 0;
}

.comparison-item__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.comparison-item__name {
	font-size: 16px;
	font-weight: 400;
	color: #a855f7;
	text-decoration: none;
	transition: color 0.2s;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.comparison-item__name:hover {
	color: #9333ea;
	text-decoration: underline;
}

.comparison-item__specialization {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.comparison-item__description {
	font-size: 15px;
	line-height: 1.6;
	color: #1a1a1a;
	margin: 0;
}

.comparison-item__tag {
	display: inline-block;
	padding: 6px 16px;
	background: #f3f4f6;
	color: #1a1a1a;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	width: fit-content;
}

.comparison-item__action {
	flex-shrink: 0;
}

.comparison-btn {
	display: inline-block;
	padding: 12px 32px;
	background: #1a1a1a;
	color: white;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
	white-space: nowrap;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.comparison-btn:hover {
	background: #000000;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-quote,
.btn-link,
.btn-primary,
.btn-secondary {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-quote,
.btn-primary {
	background: #0066ff;
	color: white;
	border: none;
}

.btn-quote:hover,
.btn-primary:hover {
	background: #0052cc;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 102, 255, 0.3);
}

.btn-link,
.btn-secondary {
	background: white;
	color: #0066ff;
	border: 2px solid #e5e7eb;
}

.btn-link:hover,
.btn-secondary:hover {
	border-color: #0066ff;
	background: #f0f9ff;
}

/* Market Context */
.shortlist-market-context {
	background: url('/wp-content/uploads/2025/12/warm-bg.svg') center/cover no-repeat;
	padding: 80px 0;
	position: relative;
}

.market-context-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.market-context__left {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: -50px;
}

.market-context__flag {
	width: 100px;
	height: 100px;
	flex-shrink: 0;
	position: relative;
	z-index: 2;
	margin-bottom: -50px;
}

.market-context__flag img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.market-context__card {
	background: white;
	border-radius: 24px;
	padding: 80px 40px 40px 40px;
	border: 1px solid #e5e7eb;
	width: 100%;
	height: 372px;
}

.market-context__title {
	font-size: 23px;
	font-weight: 500;
	color: #1a1a1a;
	margin: 0 0 24px 0;
	line-height: 1.2;
	text-align: center;
}

.market-context__content {
	font-size: 16px;
	line-height: 1.7;
	color: #1a1a1a;
}

.market-context__content p {
	margin: 0;
}

.market-context__right {
	display: flex;
	flex-direction: column;
}

.market-facts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.fact-card {
	background: white;
	border-radius: 16px;
	padding: 20px;
	border: 1px solid #e5e7eb;
	width: 180px;
	height: 180px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.fact-card--link {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: #EDE8E4;
}

.fact-card__label {
	font-size: 14px;
	font-weight: 300;
	color: #6b7280;
	margin-bottom: 8px;
}

.fact-card__value {
	font-size: 18px;
	font-weight: 300;
	font-style: normal;
	color: #1a1a1a;
	line-height: 1.4;
}

.market-context__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.2s;
}

.market-context__link:hover {
	color: #a855f7;
}

/* Detailed Reviews */
.shortlist-reviews {
	background: white;
	padding: 60px 0;
}

.reviews__main-title {
	font-size: 36px;
	font-weight: 500;
	color: #1a1a1a;
	margin: 0 0 48px 0;
	text-align: center;
}

.review-card {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	padding: 40px;
	margin-bottom: 32px;
}

.review-card__main {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 40px;
}

.review-card__left {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.review-card__header {
	display: flex;
	align-items: center;
	gap: 24px;
}

.review-card__logo-container {
	width: 80px;
	height: 80px;
	background: white;
	border: 1px solid #e5e7eb;
	border-left: 4px solid #ff6b35;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	flex-shrink: 0;
}

.review-card__logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.review-card__title {
	font-size: 24px;
	font-weight: 500;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.2;
	flex: 1;
}

.review-card__buttons {
	display: flex;
	gap: 12px;
	margin-left: auto;
}

.review-btn {
	padding: 10px 24px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s;
	white-space: nowrap;
	cursor: pointer;
	font-family: inherit;
}

.review-btn--secondary {
	background: #EDE8E4;
	color: #1a1a1a;
	border: 1px solid #e5e7eb;
}

.review-btn--secondary:hover {
	background: #ddd4cc;
}

.review-btn--primary {
	background: #1a1a1a;
	color: white;
	border: none;
}

.review-btn--primary:hover {
	background: #000000;
}

.review-card__best-for {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0;
}

.review-card__description {
	font-size: 16px;
	line-height: 1.7;
	color: #1a1a1a;
}

.review-card__description p {
	margin-bottom: 16px;
}

.review-card__features {
	margin-top: 24px;
}

.review-card__features h4 {
	font-size: 16px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 16px 0;
}

.review-card__features ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.review-card__features li {
	font-size: 15px;
	line-height: 1.8;
	color: #1a1a1a;
	padding-left: 28px;
	position: relative;
	margin-bottom: 10px;
}

.review-card__features li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #0066ff;
	font-weight: 700;
	font-size: 18px;
}

.review-card__right {
	display: flex;
	flex-direction: column;
	border-left: 1px solid #e5e7eb;
	padding-left: 40px;
}

.review-card__why-picked {
	background: white;
	padding: 0;
	height: 100%;
}

.review-card__why-picked h4 {
	font-size: 14px;
	font-weight: 400;
	color: #6b7280;
	margin: 0 0 16px 0;
}

.review-card__why-picked p {
	font-size: 20px;
	font-weight: 300;
	font-style: normal;
	line-height: 1.7;
	color: #1a1a1a;
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.shortlist-hero {
		padding: 80px 0 40px;
	}

	.shortlist-hero__title {
		font-size: 32px;
	}

	.shortlist-author-profile {
		flex-direction: column;
		gap: 16px;
	}

	.shortlist-author-profile__left {
		width: 100%;
	}

	.shortlist-author-profile__divider {
		display: none;
	}

	.shortlist-author-profile__bio {
		width: 100%;
	}

	.top-pick-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.top-pick__value {
		text-align: left;
		max-width: 100%;
	}

	.shortlist-hero__meta {
		flex-direction: column;
		gap: 8px;
	}

	.shortlist-hero__summary {
		padding: 20px 24px;
	}

	.shortlist-container {
		padding: 0 16px;
	}

	.comparison-table-header {
		display: none;
	}

	.comparison-item {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 24px 20px;
	}

	.comparison-item__left {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.comparison-item__action {
		width: 100%;
	}

	.comparison-btn {
		width: 100%;
		text-align: center;
	}

	.review-card {
		padding: 24px;
	}

	.review-card__main {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.review-card__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.review-card__title {
		font-size: 20px;
	}

	.review-card__buttons {
		width: 100%;
		margin-left: 0;
	}

	.review-btn {
		flex: 1;
		text-align: center;
	}

	.review-card__right {
		order: -1;
		border-left: none;
		border-top: 1px solid #e5e7eb;
		padding-left: 0;
		padding-top: 24px;
	}

	.market-context-wrapper {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.market-context__left {
		margin-top: 0;
	}

	.market-context__flag {
		width: 80px;
		height: 80px;
		margin-bottom: -40px;
	}

	.market-context__card {
		padding: 60px 24px 24px 24px;
	}

	.market-facts-grid {
		grid-template-columns: 1fr;
	}

	.fact-card {
		width: 100%;
		height: auto;
		min-height: 120px;
	}
}

/* Related Articles Section */
.shortlist-related-articles {
	padding: 60px 0 80px;
	background: #ffffff;
}

@media (max-width: 991px) {
	.shortlist-related-articles {
		padding: 50px 0 60px;
	}
}

@media (max-width: 767px) {
	.shortlist-related-articles {
		padding: 40px 0 50px;
	}
}

.related-articles__title {
	font-size: 32px;
	font-weight: 600;
	line-height: 1.3;
	color: #1c1c1b;
	margin: 0 0 32px;
	text-align: center;
}

@media (max-width: 991px) {
	.related-articles__title {
		font-size: 28px;
		margin: 0 0 28px;
	}
}

@media (max-width: 767px) {
	.related-articles__title {
		font-size: 24px;
		margin: 0 0 24px;
	}
}

.related-articles__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

@media (max-width: 991px) {
	.related-articles__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 767px) {
	.related-articles__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.related-article-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e8e2da;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.related-article-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
	border-color: #d4cec4;
}

.related-article-card__image {
	display: block;
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #f8f7f5;
}

@media (max-width: 767px) {
	.related-article-card__image {
		height: 180px;
	}
}

.related-article-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.related-article-card__image:hover img {
	transform: scale(1.05);
}

.related-article-card__content {
	display: flex;
	flex-direction: column;
	padding: 24px;
	flex: 1;
}

@media (max-width: 767px) {
	.related-article-card__content {
		padding: 20px;
	}
}


.related-article-card__title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 16px;
}

@media (max-width: 767px) {
	.related-article-card__title {
		font-size: 18px;
	}
}

.related-article-card__title a {
	color: #1c1c1b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.related-article-card__title a:hover {
	color: #5b52ff;
}

.related-article-card__excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(28, 28, 27, 0.8);
	margin: 0 0 16px;
	flex: 1;
}

.related-article-card__link {
	font-size: 14px;
	font-weight: 600;
	color: #5b52ff;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: color 0.2s ease;
}

.related-article-card__link:hover {
	color: #4a40d9;
	text-decoration: underline;
}

/* Hero Top Section - Title/Author + CTA Horizontal Layout */
.shortlist-hero__top {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.shortlist-hero__left {
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Top 10 CTA Card Styles */
.top-10-cta-card {
	width: 380px;
	padding: 36px;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(20px);
	border-radius: 28px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0px 0.5px 2px 0px rgba(0, 0, 0, 0.08),
				inset 0px 0.5px 0px 0px rgba(255, 255, 255, 0.2),
				inset 0px 0px 8px 2px rgba(255, 255, 255, 0.12);
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex-shrink: 0;
}

.top-10-cta-card__title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
	color: #000000;
	margin: 0;
}

.top-10-cta-card__text {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: #191a23;
	margin: 0;
}

.top-10-cta-card__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 48px;
	padding: 12px 16px 12px 24px;
	background: #000000;
	color: #ffffff;
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 500;
	border: 2px solid #000000;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
}

.top-10-cta-card__button:hover {
	background: #1a1a1a;
	border-color: #1a1a1a;
}

.top-10-cta-card__button svg {
	width: 16px;
	height: 16px;
	stroke: #ffffff;
}

.top-10-cta-card__divider {
	border: none;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0;
}

.top-10-cta-card__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.top-10-cta-card__features li {
	display: flex;
	align-items: center;
	gap: 4px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #191a23;
}

.top-10-cta-card__features li svg {
	width: 20px;
	height: 20px;
	stroke: #000000;
	flex-shrink: 0;
}

@media (max-width: 968px) {
	.shortlist-hero__top {
		flex-direction: column;
		gap: 32px;
	}

	.shortlist-hero__left {
		width: 100%;
	}

	.shortlist-hero__title {
		font-size: 36px;
		margin-bottom: 24px;
	}

	.top-10-cta-card {
		width: 100%;
		max-width: 500px;
	}
}
