/*
 * Archive pages (home.php, category.php, tag, author.php, search.php)
 *
 * Extracted from style.css (BDLD_CSS_SPLIT). Loaded only on the
 * templates that use these rules.
 */

/* ---- Blog repository pages (home.php / category.php / search.php) ---- */
.bdld-blog-repository,
.bdld-category-repository {
	background: #f8fafc;
	padding: 24px 0 60px;
}

.bdld-blog-repository .container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

.bdld-cat-header {
	background: #011F5B;
	border-radius: 12px;
	padding: 42px 30px;
	text-align: center;
	margin-bottom: 30px;
	box-shadow: 0 10px 30px rgba(1, 31, 91, 0.15);
	color: #ffffff;
}

.bdld-cat-breadcrumb {
	margin-bottom: 16px;
	font-size: 0.85rem;
	color: #31BFF0;
}

.bdld-cat-breadcrumb a {
	color: #31BFF0;
	text-decoration: none;
	border-bottom: 1px dotted #31BFF0;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.bdld-cat-breadcrumb a:hover {
	color: #ffffff;
	border-bottom-color: #ffffff;
}

.bdld-cat-breadcrumb .sep {
	margin: 0 6px;
	color: #31BFF0;
}

.bdld-cat-breadcrumb .current {
	color: #93c5fd;
	font-weight: 600;
	border-bottom: 1px dotted #93c5fd;
}

.bdld-cat-header h1 {
	font-size: 2.4rem;
	font-weight: 800;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 14px 0;
	font-family: 'Source Sans 3', sans-serif;
}

.bdld-cat-desc {
	max-width: 720px;
	margin: 0 auto 20px;
	font-size: 1.05rem;
	line-height: 1.65;
	color: #e2e8f0;
}

.bdld-cat-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.25);
	padding: 5px 16px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.bdld-cat-filter-bar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px 20px;
	margin-bottom: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.bdld-cat-filter-bar form {
	margin: 0;
}

.bdld-cat-filter-form {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.bdld-cat-filter-form label {
	font-size: 0.85rem;
	font-weight: 700;
	color: #011F5B;
	margin: 0;
}

.bdld-cat-filter-form label[for="cat_year"] {
	margin-left: 8px;
}

.bdld-cat-filter-form select,
.bdld-cat-search-form input[type="text"] {
	padding: 6px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 0.85rem;
	background: #fff;
}

.bdld-cat-filter-form select {
	color: #334155;
	cursor: pointer;
}

.bdld-cat-search-form {
	display: flex;
	gap: 8px;
	margin: 0;
	flex: 1;
	max-width: 320px;
	min-width: 220px;
}

.bdld-cat-search-form input[type="text"] {
	width: 100%;
	color: #1e293b;
}

.bdld-cat-search-form button {
	background: #011F5B;
	color: #fff;
	border: none;
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
}

.bdld-cat-search-form button:hover {
	background: #31BFF0;
}

.bdld-cat-layout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
}

.bdld-featured-article {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-left: 5px solid #991B1F;
	border-radius: 10px;
	padding: 28px;
	margin-bottom: 28px;
	box-shadow: 0 4px 15px rgba(1, 31, 91, 0.05);
	transition: transform 0.2s;
}

.bdld-featured-article:hover {
	transform: translateY(-2px);
}

.bdld-featured-article .featured-badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #991B1F;
	background: #fff0f0;
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 12px;
}

.bdld-featured-article h2 {
	margin: 0 0 12px 0;
	font-size: 1.95rem;
	line-height: 1.28;
	font-weight: 800;
	font-family: 'Source Sans 3', sans-serif;
}

.bdld-featured-article h2 a {
	color: #011F5B;
	text-decoration: none;
	font-weight: 800;
}

.bdld-featured-article h2 a:hover {
	color: #31BFF0;
}

.entry-meta-row {
	font-size: 0.85rem;
	color: #64748b;
	margin-bottom: 12px;
	font-weight: 500;
}

.entry-meta-row .sep {
	margin: 0 6px;
}

.bdld-featured-article p {
	font-size: 0.95rem;
	line-height: 1.65;
	color: #334155;
	margin: 0 0 16px 0;
}

.read-more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #011F5B;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
}

.read-more-link:hover {
	color: #31BFF0;
}

.bdld-academic-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 22px 24px;
	margin-bottom: 18px;
	box-shadow: 0 2px 8px rgba(1, 31, 91, 0.02);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.bdld-academic-card:hover {
	transform: translateY(-2px);
	border-color: #cbd5e1;
}

.bdld-academic-card h3 {
	margin: 0 0 8px 0;
	font-size: 1.7rem;
	line-height: 1.3;
	font-weight: 800;
	font-family: 'Source Sans 3', sans-serif;
}

.bdld-academic-card h3 a {
	color: #011F5B;
	text-decoration: none;
	font-weight: 800;
}

.bdld-academic-card h3 a:hover {
	color: #31BFF0;
}

.bdld-academic-card .entry-meta-row {
	margin-bottom: 10px;
}

.bdld-academic-card p {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #475569;
	margin: 0 0 14px 0;
}

.bdld-academic-card .read-more-link {
	font-size: 0.85rem;
	gap: 4px;
}

.bdld-pagination {
	margin-top: 30px;
	text-align: center;
}

.bdld-cat-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.bdld-sidebar-widget {
	background: #F4F6F8;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 2px 10px rgba(1, 31, 91, 0.03);
}

.bdld-sidebar-widget h3 {
	font-size: 1.05rem;
	font-weight: 700;
	color: #011F5B;
	margin: 0 0 16px 0;
	border-bottom: 2px solid #011F5B;
	padding-bottom: 8px;
	font-family: 'Source Sans 3', sans-serif;
}

.bdld-sidebar-cat-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bdld-sidebar-cat-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.88rem;
}

.bdld-sidebar-cat-list li a {
	color: #011F5B;
	text-decoration: none;
	font-weight: 500;
}

.bdld-sidebar-cat-list li a:hover {
	color: #31BFF0;
}

.bdld-sidebar-cat-list .count {
	font-size: 0.75rem;
	background: #ffffff;
	color: #011F5B;
	border: 1px solid #cbd5e1;
	padding: 1px 8px;
	border-radius: 10px;
	font-weight: 600;
}

.bdld-no-results-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 40px;
	text-align: center;
}

.bdld-no-results-card h3 {
	color: #011F5B;
	margin-top: 0;
}

.bdld-no-results-card p {
	color: #64748b;
	margin-bottom: 0;
}


/* ---- Category pages (category.php) ---- */
.bdld-category-repository .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.bdld-category-repository .bdld-cat-layout-grid {
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 30px;
}

.bdld-featured-article__inner {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.bdld-featured-article__content {
	flex: 1;
	min-width: 0;
}

.bdld-academic-card__inner {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.bdld-academic-card__content {
	flex: 1;
	min-width: 0;
}

.bdld-cat-thumb {
	flex-shrink: 0;
	display: block;
	width: 200px;
	height: 140px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
}

.bdld-cat-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bdld-academic-card .bdld-cat-thumb {
	width: 160px;
	height: 110px;
}

.bdld-sidebar-recent-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bdld-sidebar-recent-list li {
	border-bottom: 1px dashed #cbd5e1;
	padding-bottom: 10px;
}

.bdld-sidebar-recent-list h4 {
	margin: 0 0 4px 0;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.35;
}

.bdld-sidebar-recent-list h4 a {
	color: #011F5B;
	text-decoration: none;
}

.bdld-sidebar-recent-list h4 a:hover {
	color: #31BFF0;
}

.bdld-sidebar-recent-list .recent-meta {
	font-size: 0.8rem;
	color: #64748b;
	display: flex;
	gap: 6px;
	align-items: center;
}

.bdld-sidebar-cat-list__link {
	color: #011F5B;
	text-decoration: none;
	font-weight: 500;
}

.bdld-sidebar-cat-list__link:hover {
	color: #31BFF0;
}

.bdld-sidebar-cat-list__link.is-active {
	color: #991B1F;
	font-weight: 700;
}

.bdld-sidebar-cat-list__link.is-active:hover {
	color: #31BFF0;
}

.bdld-sidebar-search h3 {
	margin-bottom: 14px;
}

.bdld-sidebar-search-form {
	display: flex;
	gap: 8px;
	margin: 0;
}

.bdld-sidebar-search-form input[type="text"] {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 0.85rem;
	color: #1e293b;
	background: #ffffff;
}

.bdld-sidebar-search-form button {
	background: #011F5B;
	color: #fff;
	border: none;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
}

.bdld-sidebar-search-form button:hover {
	background: #31BFF0;
}

/* Category/blog responsive layout (previously an inline <style> in category.php) */
@media (max-width: 900px) {
	.bdld-cat-layout-grid {
		grid-template-columns: 1fr !important;
	}
	.bdld-cat-sidebar {
		margin-top: 30px;
	}
}

/* Responsive: stack thumbnail above text on small screens */
@media (max-width: 600px) {
	.bdld-featured-article__inner,
	.bdld-academic-card__inner {
		flex-direction: column !important;
		gap: 16px !important;
	}
	.bdld-cat-thumb {
		width: 100% !important;
		max-width: 100% !important;
		height: 200px !important;
		flex-shrink: 1 !important;
		margin: 0 auto !important;
	}
	.bdld-cat-thumb img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}
	.bdld-featured-article h2 {
		font-size: 1.4rem !important;
		line-height: 1.3 !important;
	}
	.bdld-academic-card h3 {
		font-size: 1.25rem !important;
		line-height: 1.3 !important;
	}
}


/* ---- Academic search page (search.php) ---- */
.bdld-academic-search-page {
	padding: 40px 0;
	background: #f8fafc;
	min-height: 80vh;
}

.bdld-academic-search-page .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.search-header-box {
	background: #011F5B;
	color: #ffffff;
	border-radius: 12px;
	padding: 32px;
	margin-bottom: 35px;
	box-shadow: 0 10px 25px rgba(1, 31, 91, 0.12);
	position: relative;
	overflow: hidden;
}

.search-header-box .hero-decoration {
	position: absolute;
	right: -20px;
	bottom: -30px;
	opacity: 0.05;
	pointer-events: none;
}

.search-header-box .hero-content {
	position: relative;
	z-index: 2;
}

.search-header-box h1 {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 2.2rem;
	font-weight: 700;
	margin: 0 0 10px 0;
	color: #ffffff;
}

.search-header-box p {
	font-size: 1.05rem;
	color: #cbd5e1;
	margin: 0 0 20px 0;
}

.search-page-form {
	display: flex;
	gap: 10px;
	max-width: 750px;
	flex-wrap: wrap;
}

.search-page-form input[type="text"] {
	flex: 1;
	min-width: 260px;
	padding: 14px 18px;
	font-size: 1rem;
	border: none;
	border-radius: 6px;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
	outline: none;
}

.search-page-form button {
	background: #31BFF0;
	color: #011F5B;
	font-weight: 700;
	border: none;
	padding: 14px 28px;
	border-radius: 6px;
	font-size: 1rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background 0.2s;
}

.search-page-form button:hover {
	background: #ffffff;
}

.results-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
	flex-wrap: wrap;
	gap: 15px;
	background: #ffffff;
	padding: 16px 24px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

.results-count {
	font-size: 1.05rem;
	font-weight: 600;
	color: #011F5B;
}

.results-count .accent {
	color: #991B1F;
}

.results-count .query {
	color: #31BFF0;
	font-style: italic;
}

.active-chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.active-chips .chip {
	background: #f1f5f9;
	color: #334155;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
}

.active-chips .chip--type {
	background: #e0f2fe;
	color: #0369a1;
}

.active-chips .chip--term {
	background: #fef3c7;
	color: #92400e;
}

.active-chips .clear-filters {
	font-size: 0.8rem;
	color: #ef4444;
	font-weight: 600;
	text-decoration: underline;
	margin-left: 5px;
}

.search-layout-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
	align-items: start;
}

.search-sidebar-filter {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
	position: sticky;
	top: 100px;
}

.search-sidebar-filter h3 {
	margin: 0 0 20px 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: #011F5B;
	border-bottom: 2px solid #31BFF0;
	padding-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.filter-group {
	margin-bottom: 20px;
}

.filter-group--last {
	margin-bottom: 24px;
}

.filter-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 700;
	color: #334155;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 8px;
}

.filter-group select {
	width: 100%;
	padding: 10px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 0.9rem;
	color: #1e293b;
	background: #fff;
}

.filter-actions {
	display: flex;
	gap: 10px;
	flex-direction: column;
}

.filter-actions button {
	width: 100%;
	background: #011F5B;
	color: #ffffff;
	font-weight: 700;
	padding: 10px;
	border: none;
	border-radius: 6px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.2s;
}

.filter-actions button:hover {
	background: #31BFF0;
}

.filter-actions .reset-filters {
	display: block;
	text-align: center;
	background: #f1f5f9;
	color: #64748b;
	font-weight: 600;
	padding: 10px;
	border-radius: 6px;
	font-size: 0.85rem;
	text-decoration: none;
}

.search-pagination {
	margin-top: 40px;
}

.no-results-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 40px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.no-results-box .no-results-icon {
	width: 64px;
	height: 64px;
	background: #fee2e2;
	color: #ef4444;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.no-results-box h2 {
	font-family: 'Source Sans 3', sans-serif;
	font-size: 1.6rem;
	color: #011F5B;
	margin: 0 0 10px 0;
}

.no-results-box > p {
	font-size: 1rem;
	color: #64748b;
	max-width: 500px;
	margin: 0 auto 24px;
}

.suggestions-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 20px;
	text-align: left;
	max-width: 500px;
	margin: 0 auto 20px;
	font-size: 0.9rem;
	color: #334155;
}

.suggestions-box strong {
	display: block;
	color: #011F5B;
	margin-bottom: 8px;
}

.suggestions-box ul {
	margin: 0;
	padding-left: 20px;
	line-height: 1.6;
}

.no-results-box .home-link {
	display: inline-block;
	background: #011F5B;
	color: #ffffff;
	padding: 10px 24px;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.9rem;
}

/* Search responsive layout (previously an inline <style> in search.php) */
@media (max-width: 900px) {
	.search-layout-grid {
		grid-template-columns: 1fr !important;
	}
	.search-sidebar-filter {
		position: static !important;
		margin-bottom: 25px;
	}
}


/* ---- Author archive (author.php) ---- */
.bdld-author-page {
	background: #f8fafc;
	padding: 40px 0 60px;
}

.bdld-author-page .container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px;
}

.bdld-author-header-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 4px 15px rgba(1, 31, 91, 0.04);
	margin-bottom: 30px;
}

.bdld-author-top-row {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.bdld-author-avatar {
	flex-shrink: 0;
}

.bdld-author-avatar img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: 2px solid #011F5B;
	padding: 2px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(1, 31, 91, 0.1);
	display: block;
}

.bdld-author-main-info {
	flex: 1;
	min-width: 260px;
}

.bdld-author-main-info h1 {
	margin: 0 0 6px 0;
	font-size: 2rem;
	font-weight: 800;
	color: #011F5B;
	font-family: 'Source Sans 3', sans-serif;
	line-height: 1.2;
}

.bdld-author-affiliation {
	font-size: 1rem;
	color: #475569;
	font-weight: 600;
	margin-bottom: 10px;
}

.bdld-author-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin-bottom: 14px;
	font-size: 0.85rem;
	align-items: center;
}

.bdld-author-links .sep {
	color: #cbd5e1;
}

.bdld-author-links a {
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.bdld-author-links a.bdld-author-link--orcid {
	color: #a6ce39;
}

.bdld-author-links a.bdld-author-link--scholar {
	color: #4285f4;
}

.bdld-author-links a.bdld-author-link--linkedin {
	color: #0077b5;
}

.bdld-author-divider {
	height: 1px;
	background: #e2e8f0;
	margin: 20px 0;
}

.bdld-author-bio {
	font-size: 0.875rem;
	line-height: 1.6;
	color: #222222;
}

.bdld-author-interests-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
	font-weight: 700;
	display: block;
	margin-bottom: 6px;
}

.bdld-author-interests-value {
	font-size: 0.95rem;
	color: #011F5B;
	font-weight: 600;
	line-height: 1.5;
}

.bdld-author-publications {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 4px 15px rgba(1, 31, 91, 0.04);
}

.bdld-author-publications > h2 {
	margin: 0 0 24px 0;
	font-size: 1.6rem;
	font-weight: 700;
	color: #011F5B;
	font-family: 'Source Sans 3', sans-serif;
	border-bottom: 2px solid #011F5B;
	padding-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bdld-author-none {
	color: #64748b;
	font-size: 0.95rem;
	margin: 0;
}

.pub-section h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: #011F5B;
	margin: 0 0 16px 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.pub-count-badge {
	background: #EEF4FB;
	color: #011F5B;
	font-size: 0.8rem;
	padding: 2px 10px;
	border-radius: 12px;
	font-weight: 700;
	border: 1px solid #BDD4EE;
}

.journal-articles-section {
	margin-bottom: 36px;
}

.bdld-pub-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.blog-posts-section .bdld-pub-list {
	gap: 12px;
}

.bdld-pub-item {
	padding: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #011F5B;
	border-radius: 6px;
	transition: background-color 0.2s ease;
}

.bdld-pub-item:hover {
	background: #EEF4FB;
}

.bdld-pub-item h4 {
	margin: 0 0 6px 0;
	font-size: 1.1rem;
	line-height: 1.35;
	font-weight: 700;
	font-family: 'Source Sans 3', sans-serif;
}

.bdld-pub-item h4 a {
	color: #011F5B;
	text-decoration: none;
}

.bdld-pub-item h4 a:hover {
	color: #31BFF0;
}

.bdld-pub-meta {
	font-size: 0.85rem;
	color: #64748b;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
}

.bdld-pub-meta a {
	color: #011F5B;
	text-decoration: none;
}

.bdld-pub-blog-item {
	padding: 14px 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	transition: border-color 0.2s ease;
}

.bdld-pub-blog-item:hover {
	border-color: #011F5B;
}

.bdld-pub-blog-item h4 {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	flex: 1;
	min-width: 220px;
}

.bdld-pub-blog-item h4 a {
	color: #011F5B;
	text-decoration: none;
}

.bdld-pub-blog-item h4 a:hover {
	color: #31BFF0;
}

.bdld-pub-blog-date {
	font-size: 0.85rem;
	color: #64748b;
	white-space: nowrap;
}


/* ---- Search result parts (search.php renders these) ---- */
.search-result-journal {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #011F5B;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 24px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	box-shadow: 0 2px 8px rgba(1, 31, 91, 0.04);
}

.search-result-blog {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #31BFF0;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 24px;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	align-items: flex-start;
	transition: box-shadow 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.result-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	flex-wrap: wrap;
	gap: 10px;
}

.search-result-blog .result-header {
	margin-bottom: 8px;
	gap: 8px;
}

.badge-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: 4px;
}

.badge-journal {
	background: #011F5B;
	color: #ffffff;
}

.badge-issue {
	background: #e2e8f0;
	color: #011F5B;
	font-weight: 600;
}

.badge-blog {
	background: #31BFF0;
	color: #011F5B;
}

.badge-cat {
	background: #f1f5f9;
	color: #475569;
	font-weight: 600;
}

.result-date {
	font-size: 0.85rem;
	color: #64748b;
}

.result-title {
	margin: 0 0 10px 0;
	font-family: 'Source Sans 3', sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.35;
	color: #011F5B;
}

.search-result-blog .result-title {
	margin: 0 0 8px 0;
	font-size: 1.2rem;
}

.result-title a {
	color: #011F5B;
	text-decoration: none;
	transition: color 0.2s;
}

.result-title a:hover {
	color: #31BFF0;
}

.result-authors {
	font-size: 0.9rem;
	color: #334155;
	margin-bottom: 12px;
	font-weight: 500;
}

.result-authors strong {
	color: #64748b;
}

.result-doi {
	font-size: 0.85rem;
	margin-bottom: 12px;
	color: #64748b;
}

.result-doi a {
	color: #0284c7;
	text-decoration: underline;
}

.result-excerpt {
	font-size: 0.925rem;
	line-height: 1.6;
	color: #475569;
	margin-bottom: 16px;
}

.result-excerpt strong {
	color: #1e293b;
}

.search-result-blog .result-excerpt {
	font-size: 0.9rem;
	line-height: 1.55;
	margin-bottom: 14px;
}

.result-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

.result-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.search-result-journal .btn-read,
.search-result-journal .btn-pdf {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #ffffff;
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s;
}

.search-result-journal .btn-read {
	background: #011F5B;
}

.search-result-journal .btn-read:hover {
	background: #31BFF0;
}

.search-result-journal .btn-pdf {
	background: #991B1F;
}

.search-result-journal .btn-pdf:hover {
	background: #be123c;
}

.search-result-blog .btn-read {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #011F5B;
	font-weight: 600;
	font-size: 0.85rem;
	text-decoration: none;
	transition: color 0.2s;
}

.search-result-blog .btn-read:hover {
	color: #31BFF0;
}

.result-thumbnail {
	flex-shrink: 0;
	width: 160px;
	height: 110px;
	overflow: hidden;
	border-radius: 6px;
	position: relative;
}

.result-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.result-content {
	flex: 1;
	min-width: 250px;
}

.result-meta {
	font-size: 0.85rem;
	color: #64748b;
	margin-bottom: 10px;
}

.result-meta strong {
	color: #334155;
}


/* ---- Search highlight (inc/search.php) ---- */
.bdld-search-highlight {
	background: #fef08a;
	color: #854d0e;
	padding: 2px 4px;
	border-radius: 3px;
	font-weight: 600;
}

.sidenotes-subheading.bdld-sidenotes-references {
	margin-top: 20px;
}








/* ============================================================
   Migrated from style.css - template-scoped rules
   ============================================================ */
.author-header--journal { text-align: left; }
.author-header--blog { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.author-header--blog h1 { margin: 0; }

@media (max-width: 768px) {
	.archive-header h1,
	.bdld-cat-header h1,
	.search-header-box h1 {
		font-size: 2rem !important;
		line-height: 1.2;
	}
}
