/**
 * Blog archive + single post styles.
 * Colors follow the site palette: purple #290B51 / #592B62, gold #F4C741, pink #D64799.
 */

/* --------------------------------------------------------------------------
   Archive / block grid
   -------------------------------------------------------------------------- */
.scopus-blog-archive {
	background: #F8F8F8;
	padding: 70px 0 50px;
}

.scopus-blog-archive__header {
	margin-bottom: 36px;
}

.scopus-blog-archive__label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #F4C741;
}

.scopus-blog-archive__label::before {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	background: #F4C741;
	flex-shrink: 0;
}

.scopus-blog-archive__empty {
	color: #7766A8;
	margin: 0;
}

/* Infinite scroll spinner (no Load More button) */
.scopus-blog-infinite {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 28px 0 8px;
	min-height: 48px;
}

.scopus-blog-infinite__sentinel {
	width: 100%;
	height: 1px;
}

.scopus-blog-infinite__spinner {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 0 16px;
}

.scopus-blog-infinite__spinner[hidden] {
	display: none !important;
}

.scopus-blog-infinite__spinner-dot {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 3px solid rgba(89, 43, 98, 0.18);
	border-top-color: #592B62;
	animation: scopus-blog-spin 0.75s linear infinite;
}

@keyframes scopus-blog-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Card */
.scopus-blog-card {
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(41, 11, 81, 0.08);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.scopus-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(41, 11, 81, 0.12);
}

.scopus-blog-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #EDE8F2;
}

.scopus-blog-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.scopus-blog-card__image--placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #EDE8F2 0%, #D9CFE5 100%);
}

.scopus-blog-card__badge {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	background: #F4C741;
	color: #162726;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: lowercase;
	max-width: calc(100% - 28px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.scopus-blog-card__body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.scopus-blog-card__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #290B51;
}

.scopus-blog-card__title a {
	color: inherit;
	text-decoration: none;
}

.scopus-blog-card__title a:hover {
	color: #D64799;
}

.scopus-blog-card__excerpt {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.55;
	color: #8A8494;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.scopus-blog-card__meta {
	margin-top: auto;
	padding-top: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.scopus-blog-card__author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #8A8494;
	min-width: 0;
}

.scopus-blog-card__author span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.scopus-blog-card__avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: #EDE8F2;
}

.scopus-blog-card__avatar--icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #8A8494;
	font-size: 12px;
}

.scopus-blog-card__date {
	font-size: 13px;
	color: #A39EAB;
	white-space: nowrap;
	flex-shrink: 0;
}

.scopus-blog-pagination {
	margin-top: 48px;
}

.scopus-blog-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.scopus-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	background: #fff;
	color: #592B62;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(41, 11, 81, 0.06);
}

.scopus-blog-pagination .page-numbers.current,
.scopus-blog-pagination .page-numbers:hover {
	background: #592B62;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Single hero
   -------------------------------------------------------------------------- */
.scopus-blog-hero {
	position: relative;
	padding: 160px 0 70px;
	background-color: #290B51;
	background-image: linear-gradient(rgba(20, 8, 40, 0.72), rgba(20, 8, 40, 0.78)), var(--scopus-blog-hero-image);
	background-size: cover;
	background-position: center;
	color: #fff;
}

.scopus-blog-hero__breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	margin-bottom: 18px;
}

.scopus-blog-hero__breadcrumbs a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.scopus-blog-hero__breadcrumbs a:hover {
	color: #F4C741;
}

.scopus-blog-hero__sep {
	color: rgba(255, 255, 255, 0.55);
}

.scopus-blog-hero__current {
	color: #F4C741;
	font-weight: 600;
}

.scopus-blog-hero__title {
	margin: 0 0 12px;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	max-width: 900px;
}

.scopus-blog-hero__byline {
	margin: 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   Single content + sidebar
   -------------------------------------------------------------------------- */
.scopus-blog-single {
	background: #fff;
	padding: 60px 0 60px;
}

.scopus-blog-single__content {
	color: #5C5668;
	font-size: 16px;
	line-height: 1.75;
}

.scopus-blog-single__content > *:first-child {
	margin-top: 0;
}

.scopus-blog-single__content h2,
.scopus-blog-single__content h3,
.scopus-blog-single__content h4 {
	color: #162726;
	font-weight: 700;
	margin: 1.6em 0 0.7em;
	scroll-margin-top: 120px;
}

.scopus-blog-single__content h2 {
	font-size: 32px;
	line-height: 1.25;
}

.scopus-blog-single__content h3 {
	font-size: 24px;
}

.scopus-blog-single__content p {
	margin-bottom: 1.15em;
}

.scopus-blog-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	margin: 1.25em 0;
}

.scopus-blog-single__content a {
	color: #D64799;
}

.scopus-blog-single__content ul,
.scopus-blog-single__content ol {
	padding-left: 1.25em;
	margin-bottom: 1.15em;
}

.scopus-blog-single__sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: sticky;
	top: 110px;
}

/* Shared sidebar widgets */
.scopus-blog-widget {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(41, 11, 81, 0.1);
	background: #F4F4F4;
}

.scopus-blog-widget__header {
	background: #290B51;
	padding: 16px 20px;
}

.scopus-blog-widget__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #F4C741;
}

/* TOC */
.scopus-blog-toc__nav {
	padding: 10px 0;
}

.scopus-blog-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.scopus-blog-toc__item {
	margin: 0;
}

.scopus-blog-toc__link {
	display: block;
	padding: 12px 18px 12px 16px;
	color: #3A3348;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	border-left: 3px solid transparent;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.scopus-blog-toc__item.is-active .scopus-blog-toc__link,
.scopus-blog-toc__link:hover {
	background: #EEF4FF;
	border-left-color: #4A7FD4;
	color: #290B51;
	font-weight: 700;
}

/* Quote form */
.scopus-blog-quote__header {
	padding: 18px 20px 20px;
}

.scopus-blog-quote__heading {
	margin: 8px 0 0;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.scopus-blog-quote__body {
	padding: 20px;
	background: #F4F4F4;
}

.scopus-blog-quote__field {
	margin-bottom: 14px;
}

.scopus-blog-quote__field label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8A8494;
	margin-bottom: 6px;
}

.scopus-blog-quote__field input,
.scopus-blog-quote__field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #D8D4DE;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	color: #162726;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.scopus-blog-quote__field input:focus,
.scopus-blog-quote__field textarea:focus {
	border-color: #592B62;
	box-shadow: 0 0 0 3px rgba(89, 43, 98, 0.12);
}

.scopus-blog-quote__field textarea {
	min-height: 110px;
	resize: vertical;
}

.scopus-blog-quote__submit {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 14px 18px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(180deg, #F4C741 0%, #C9922A 100%);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.scopus-blog-quote__submit:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.scopus-blog-quote__submit:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

.scopus-blog-quote .scopus-form-status {
	margin-top: 10px;
	font-size: 13px;
}

.scopus-blog-quote .scopus-form-status.is-error {
	color: #c0392b;
}

.scopus-blog-quote .scopus-form-status.is-success {
	color: #07A698;
}

/* --------------------------------------------------------------------------
   Single post FAQs (SS layout, theme colors)
   -------------------------------------------------------------------------- */
.scopus-faqs {
	background: #fff;
	padding: 60px 0 90px;
}

.scopus-faqs__header {
	max-width: 720px;
	margin: 0 auto 42px;
	text-align: center;
}

.scopus-faqs__title {
	margin: 0 0 16px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	color: #290B51;
}

.scopus-faqs__intro {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: #6B6578;
}

.scopus-faqs__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 28px;
	align-items: start;
}

.scopus-faqs__item {
	min-width: 0;
}

.scopus-faqs__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 22px;
	border: 0;
	border-radius: 999px;
	background: #F0F0F0;
	color: #290B51;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.scopus-faqs__trigger:hover {
	background: #E8E4EE;
}

.scopus-faqs__trigger:focus-visible {
	outline: 2px solid #592B62;
	outline-offset: 2px;
}

.scopus-faqs__item.is-open .scopus-faqs__trigger {
	background: #EDE8F2;
	border-radius: 28px 28px 0 0;
}

.scopus-faqs__question {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: #290B51;
}

.scopus-faqs__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: #592B62;
	transition: transform 0.2s ease, color 0.2s ease;
}

.scopus-faqs__item.is-open .scopus-faqs__icon {
	transform: rotate(45deg);
	color: #D64799;
}

.scopus-faqs__answer {
	overflow: hidden;
	background: #F7F5F9;
	border-radius: 0 0 28px 28px;
}

.scopus-faqs__answer[hidden] {
	display: none;
}

.scopus-faqs__answer-inner {
	padding: 22px 24px;
	font-size: 15px;
	line-height: 1.65;
	color: #5C5668;
}

.scopus-faqs__answer-inner > *:first-child {
	margin-top: 0;
}

.scopus-faqs__answer-inner > *:last-child {
	margin-bottom: 0;
}

.scopus-faqs__answer-inner p {
	margin-bottom: 0.75em;
}

.scopus-faqs__answer-inner a {
	color: #D64799;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
	.scopus-blog-hero {
		padding: 130px 0 50px;
	}

	.scopus-blog-hero__title {
		font-size: 36px;
	}

	.scopus-blog-single__sidebar {
		position: static;
	}

	.scopus-blog-single__content h2 {
		font-size: 26px;
	}

	.scopus-faqs {
		padding: 50px 0 70px;
	}

	.scopus-faqs__title {
		font-size: 32px;
	}

	.scopus-faqs__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

@media (max-width: 575px) {
	.scopus-blog-archive {
		padding: 48px 0 60px;
	}

	.scopus-blog-hero__title {
		font-size: 28px;
	}

	.scopus-blog-card__title {
		font-size: 18px;
	}

	.scopus-blog-card__meta {
		flex-wrap: wrap;
	}

	.scopus-faqs__title {
		font-size: 26px;
	}

	.scopus-faqs__trigger {
		padding: 14px 18px;
	}

	.scopus-faqs__question {
		font-size: 14px;
	}
}
