/* UCP Modern: site landing page. All rules are scoped to pages that contain .ucp_home. */

:root {
	/* UCP palette: single source of truth for the Home Page AND every journal. */
	--ucp-navy: #0f2f52;
	--ucp-blue: #1e6292;
	--ucp-blue-dark: #174b70;
	--ucp-accent: #f2b705;
	--ucp-accent-hover: #ffc71f;
	--ucp-ink: #1b2733;
	--ucp-muted: #566575;
	--ucp-bg: #f4f7fa;
	--ucp-card: #fff;
	--ucp-line: #dbe3ea;
	--ucp-radius: 14px;
	--ucp-shadow: 0 1px 2px rgba(15, 47, 82, .06), 0 6px 18px rgba(15, 47, 82, .06);
	--ucp-shadow-hover: 0 2px 4px rgba(15, 47, 82, .08), 0 14px 32px rgba(15, 47, 82, .14);
}


body:has(.ucp_home) {
	--ucp-navy: #0f2f52;
	--ucp-blue: #1e6292;
	--ucp-blue-dark: #174b70;
	--ucp-accent: #f2b705;
	--ucp-ink: #1b2733;
	--ucp-muted: #566575;
	--ucp-bg: #f4f7fa;
	--ucp-card: #fff;
	--ucp-line: #dbe3ea;
	--ucp-radius: 14px;
	--ucp-shadow: 0 1px 2px rgba(15, 47, 82, .06), 0 6px 18px rgba(15, 47, 82, .06);
	--ucp-shadow-hover: 0 2px 4px rgba(15, 47, 82, .08), 0 14px 32px rgba(15, 47, 82, .14);
	background: var(--ucp-bg);
	color: var(--ucp-ink);
}

/* ---------- Header ---------- */
body:has(.ucp_home) .pkp_structure_head {
	background: var(--ucp-navy);
	border-bottom: 3px solid var(--ucp-accent);
	position: sticky;
	top: 0;
	z-index: 100;
}
body:has(.ucp_home) .pkp_head_wrapper,
body.has_site_logo:has(.ucp_home) .pkp_head_wrapper {
	width: 100%;
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}
@media (min-width: 992px) {
	body:has(.ucp_home) .pkp_head_wrapper {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}
}
body:has(.ucp_home) .pkp_navigation_primary > li > a,
body:has(.ucp_home) .pkp_navigation_user > li > a {
	color: #fff;
	font-weight: 600;
	border-radius: 8px;
	padding: 10px 14px;
	transition: background-color .15s ease, color .15s ease;
}
body:has(.ucp_home) .pkp_navigation_primary > li > a:hover,
body:has(.ucp_home) .pkp_navigation_primary > li > a:focus,
body:has(.ucp_home) .pkp_navigation_user > li > a:hover,
body:has(.ucp_home) .pkp_navigation_user > li > a:focus {
	background: rgba(255, 255, 255, .14);
	color: #fff;
}
/* user area: shown/hidden by ucp-header.css (hidden only while it merely repeats Register/Login) */
@media (min-width: 992px) {
	body:has(.ucp_home) .pkp_site_name_wrapper,
	body:has(.ucp_home) .pkp_navigation_primary_row,
	body:has(.ucp_home) .pkp_navigation_primary_wrapper {
		position: static;
		width: auto;
		max-width: none;
		margin: 0;
		padding: 0;
	}
	body:has(.ucp_home) .pkp_site_name_wrapper {
		display: flex;
		align-items: center;
	}
	body:has(.ucp_home) .pkp_site_nav_menu {
		background: var(--ucp-navy);
	}
	body:has(.ucp_home) .pkp_head_wrapper::before,
	body:has(.ucp_home) .pkp_head_wrapper::after,
	body:has(.ucp_home) .pkp_site_name_wrapper::before,
	body:has(.ucp_home) .pkp_site_name_wrapper::after,
	body:has(.ucp_home) .pkp_navigation_primary_wrapper::before,
	body:has(.ucp_home) .pkp_navigation_primary_wrapper::after {
		content: none;
	}
	body:has(.ucp_home) .pkp_site_name {
		width: auto;
		position: static;
		margin: 0;
		padding: 6px 0;
	}
	body:has(.ucp_home) .pkp_site_name .is_img img {
		height: 80px !important;
		width: auto !important;
		max-height: 80px !important;
		display: block;
	}
	body:has(.ucp_home) .pkp_site_nav_menu {
		flex: 0 0 auto;
		white-space: nowrap;
		position: static;
		width: auto;
		background: transparent;
		padding: 0;
		margin-left: auto;
	}
}
body:has(.ucp_home) .pkp_navigation_primary_row,
body:has(.ucp_home) .pkp_navigation_primary_wrapper {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	width: auto;
}
body:has(.ucp_home) a:focus-visible,
body:has(.ucp_home) input:focus-visible,
body:has(.ucp_home) button:focus-visible {
	outline: 3px solid var(--ucp-accent);
	outline-offset: 2px;
}

/* ---------- Layout ---------- */
body:has(.ucp_home) .pkp_structure_content {
	padding-top: 0 !important;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
}
body:has(.ucp_home) .pkp_structure_main {
	margin-top: 0 !important;
	width: 100%;
	max-width: none;
	float: none;
	padding: 0;
	margin: 0;
}
body:has(.ucp_home) .pkp_structure_main::before,
body:has(.ucp_home) .pkp_structure_main::after {
	content: none;
}
body:has(.ucp_home) .pkp_structure_main::before,
body:has(.ucp_home) .pkp_structure_main::after {
	display: none;
}
.ucp_home > section:not(.ucp_hero):not(.highlights),
.ucp_home > .highlights,
.ucp_home > .cmp_announcements {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}
.ucp_home h2 {
	color: var(--ucp-navy);
	font-size: 1.75rem;
	line-height: 1.25;
	margin: 0;
}

/* ---------- Buttons ---------- */
.ucp_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 10px;
	border: 2px solid transparent;
	font-weight: 600;
	font-size: .9rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.ucp_btn:hover {
	transform: translateY(-1px);
	text-decoration: none;
}
.ucp_btn_primary {
	background: var(--ucp-blue);
	color: #fff;
}
.ucp_btn_primary:hover,
.ucp_btn_primary:focus {
	background: var(--ucp-blue-dark);
	color: #fff;
}
.ucp_btn_ghost {
	background: transparent;
	color: var(--ucp-blue);
	border-color: var(--ucp-blue);
}
.ucp_btn_ghost:hover,
.ucp_btn_ghost:focus {
	background: rgba(30, 98, 146, .08);
	color: var(--ucp-blue-dark);
}

/* ---------- Hero ---------- */
.ucp_hero {
	background:
		radial-gradient(900px 400px at 85% -10%, rgba(242, 183, 5, .22), transparent 60%),
		linear-gradient(135deg, var(--ucp-navy) 0%, var(--ucp-blue) 100%);
	color: #fff;
	padding: 64px 16px 72px;
}
.ucp_hero_inner {
	max-width: 1200px;
	margin: 0 auto;
}
.ucp_eyebrow {
	margin: 0 0 12px;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ucp-accent);
}
.ucp_home .ucp_hero_title {
	color: #fff;
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 800;
	margin: 0 0 14px;
}
.ucp_hero_lead {
	max-width: 640px;
	margin: 0 0 28px;
	font-size: 1.15rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .92);
}
.ucp_hero_actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.ucp_hero .ucp_btn_primary {
	background: var(--ucp-accent);
	color: #1b1b1b;
}
.ucp_hero .ucp_btn_primary:hover,
.ucp_hero .ucp_btn_primary:focus {
	background: #ffc71f;
	color: #1b1b1b;
}
.ucp_hero .ucp_btn_ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, .7);
}
.ucp_hero .ucp_btn_ghost:hover,
.ucp_hero .ucp_btn_ghost:focus {
	background: rgba(255, 255, 255, .15);
	color: #fff;
}
.ucp_hero_stat {
	margin: 28px 0 0;
	font-size: .95rem;
	color: rgba(255, 255, 255, .8);
}

/* ---------- About ---------- */
.ucp_about {
	margin-top: 40px;
	margin-bottom: 8px;
}
.ucp_about .about_site {
	background: var(--ucp-card);
	border-left: 5px solid var(--ucp-accent);
	border-radius: var(--ucp-radius);
	box-shadow: var(--ucp-shadow);
	padding: 24px 28px;
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--ucp-ink);
}
.ucp_about .about_site p:last-child {
	margin-bottom: 0;
}

/* ---------- Journals ---------- */
.ucp_journals {
	margin-top: 48px;
	margin-bottom: 56px;
	scroll-margin-top: 90px;
}
.ucp_section_head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
}
.ucp_filter input {
	width: 280px;
	max-width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--ucp-line);
	border-radius: 10px;
	background: #fff;
	font-size: .95rem;
	box-sizing: border-box;
}
.ucp_home .journals .ucp_section_head h2,
.ucp_home .cmp_announcements > h2 {
	position: static !important;
	clip: auto;
	left: auto;
}
.ucp_grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
}
.ucp_home .ucp_grid > .ucp_card {
	display: flex;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ucp-line);
	flex-direction: column;
	background: var(--ucp-card);
	border: 1px solid var(--ucp-line);
	border-radius: var(--ucp-radius);
	box-shadow: var(--ucp-shadow);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.ucp_home .ucp_card::before,
.ucp_home .ucp_card::after {
	content: none;
}
.ucp_card[hidden] {
	display: none;
}
.ucp_card:hover,
.ucp_card:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--ucp-shadow-hover);
}
.ucp_card_media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #e6eef5, #f7f1da);
	overflow: hidden;
}
.ucp_home .ucp_card_media img {
	max-height: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
	transition: transform .4s ease;
}
.ucp_card:hover .ucp_card_media img {
	transform: scale(1.04);
}
.ucp_card_initials {
	font-size: 2.25rem;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--ucp-blue);
	text-transform: uppercase;
}
.ucp_home .ucp_card .thumb + .body,
.ucp_card .body {
	float: none;
	width: auto;
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 22px;
}
.ucp_card h3 {
	margin: 0 0 10px;
	font-size: 1.15rem;
	line-height: 1.35;
}
.ucp_card h3 a {
	color: var(--ucp-navy);
	text-decoration: none;
}
.ucp_card h3 a:hover {
	color: var(--ucp-blue);
	text-decoration: underline;
}
.ucp_card .description {
	color: var(--ucp-muted);
	font-size: .93rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 18px;
}
.ucp_card .description p {
	margin: 0 0 6px;
}
.ucp_home .ucp_card .links {
	list-style: none;
	margin: auto 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ucp_home .ucp_card .links li {
	display: block;
	margin: 0;
	padding: 0;
}
.ucp_nomatch {
	text-align: center;
	color: var(--ucp-muted);
	padding: 32px 0;
}

/* ---------- Announcements ---------- */
.ucp_home .cmp_announcements {
	margin-bottom: 56px;
}
.ucp_home .cmp_announcements > h2 {
	margin-bottom: 20px;
}
.ucp_home .cmp_announcements .obj_announcement_summary {
	background: var(--ucp-card);
	border: 1px solid var(--ucp-line);
	border-radius: var(--ucp-radius);
	padding: 18px 22px;
	margin-bottom: 12px;
	box-shadow: var(--ucp-shadow);
}

/* ---------- Process ---------- */
.ucp_process {
	margin-bottom: 64px;
}
.ucp_process > h2 {
	text-align: center;
	margin-bottom: 28px;
}
.ucp_process ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.ucp_process li {
	background: var(--ucp-card);
	border: 1px solid var(--ucp-line);
	border-radius: var(--ucp-radius);
	padding: 24px 20px;
	margin: 0;
	text-align: center;
	box-shadow: var(--ucp-shadow);
}
.ucp_step_no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ucp-navy);
	color: #fff;
	font-weight: 700;
	margin-bottom: 12px;
}
.ucp_process h3 {
	margin: 0 0 6px;
	font-size: 1.05rem;
	color: var(--ucp-navy);
}
.ucp_process p {
	margin: 0;
	font-size: .9rem;
	line-height: 1.55;
	color: var(--ucp-muted);
}

/* ---------- Footer ---------- */
.ucp_footer {
	background: var(--ucp-navy);
	color: rgba(255, 255, 255, .85);
	border-top: 3px solid var(--ucp-accent);
	margin-top: 24px;
}
.ucp_footer .pkp_structure_footer {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 16px 0;
	box-sizing: border-box;
	text-align: left;
}
.ucp_footer .pkp_structure_footer::before,
.ucp_footer .pkp_structure_footer::after {
	content: none;
}
.ucp_footer_grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 36px;
}
.ucp_footer_logo {
	height: 72px;
	width: auto;
	display: block;
	margin-bottom: 14px;
}
.ucp_footer_name {
	margin: 0 0 8px;
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
}
.ucp_footer_tag {
	margin: 0;
	max-width: 420px;
	font-size: .93rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .75);
}
.ucp_footer_col h2 {
	margin: 0 0 14px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ucp-accent);
}
.ucp_footer_col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ucp_footer_col li {
	margin: 0 0 10px;
}
.ucp_footer a {
	color: rgba(255, 255, 255, .9);
	text-decoration: none;
	transition: color .15s ease;
}
.ucp_footer a:hover,
.ucp_footer a:focus {
	color: var(--ucp-accent);
	text-decoration: underline;
}
.ucp_footer_bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0 24px;
	border-top: 1px solid rgba(255, 255, 255, .18);
	font-size: .88rem;
}
.ucp_footer_bar .pkp_footer_content,
.ucp_footer_bar .pkp_brand_footer {
	padding: 0;
	margin: 0;
	text-align: left;
}
.ucp_footer_bar .pkp_footer_content p {
	margin: 0;
}
.ucp_footer_bar .pkp_brand_footer img {
	height: 38px;
	width: auto;
	display: block;
	filter: brightness(0) invert(1);
	opacity: .8;
	transition: opacity .15s ease;
}
.ucp_footer_bar .pkp_brand_footer a:hover img {
	opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.ucp_process ol {
		grid-template-columns: repeat(2, 1fr);
	}
	.ucp_footer_grid {
		grid-template-columns: 1fr 1fr;
	}
	.ucp_footer_brand {
		grid-column: 1 / -1;
	}
	body:has(.ucp_home) .pkp_site_nav_menu {
		width: 100%;
	}
}
@media (max-width: 640px) {
	.ucp_hero {
		padding: 44px 16px 52px;
	}
	.ucp_grid {
		grid-template-columns: 1fr;
	}
	.ucp_process ol {
		grid-template-columns: 1fr;
	}
	.ucp_footer_grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.ucp_filter,
	.ucp_filter input {
		width: 100%;
	}
	.ucp_about .about_site {
		padding: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ucp_home *,
	.ucp_home *::before,
	.ucp_home *::after {
		transition: none !important;
		animation: none !important;
	}
}
