/* Mobile editorial layout: retain the journal palette and give each content
   group a clear reading order and touch-friendly surface. */
@media (max-width: 990px) {
	:root {
		--journal-ink: #18354a;
		--journal-navy: #084070;
		--journal-gold: #d9a441;
		--journal-line: #dce5ec;
		--journal-paper: #f3f6f8;
	}

	body {
		background: var(--journal-paper);
		color: var(--journal-ink);
	}

	.pkp_structure_content {
		display: flow-root;
		width: 100%;
		padding: 1.25rem;
	}

	.pkp_structure_content > .pkp_structure_main {
		float: none;
		width: 100%;
		max-width: 100%;
	}

	.pkp_structure_content > .pkp_structure_sidebar.left {
		position: static;
		display: block !important;
		float: none;
		clear: both;
		width: 100%;
		max-width: 100%;
	}

	.pkp_structure_content > .pkp_structure_main {
		padding: 1.25rem;
	}

	.pkp_block {
		box-sizing: border-box;
		max-width: 100%;
		margin: 0 0 0.875rem !important;
		padding: 1.15rem !important;
		border: 1px solid var(--journal-line);
		border-radius: 14px;
		background: #fff !important;
		box-shadow: 0 4px 14px rgba(18, 47, 73, 0.055);
	}

	.page_register,
	.page_login {
		box-sizing: border-box;
		width: 100%;
		max-width: 52rem;
		margin: 0 auto;
		padding: clamp(1.25rem, 4vw, 2rem);
		border: 1px solid var(--journal-line);
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 8px 24px rgba(18, 47, 73, 0.06);
	}

	.page_register .register,
	.page_login .login {
		width: 100%;
		max-width: 100%;
	}

	.page_register .fields input:not([type="checkbox"]):not([type="radio"]),
	.page_register .fields select,
	.page_register .fields textarea,
	.page_login .login input[type="text"],
	.page_login .login input[type="password"] {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}

	.page_register .register > fieldset {
		box-sizing: border-box;
		min-width: 0;
		margin: 0 0 0.9rem;
		padding: 1rem;
		border: 1px solid var(--journal-line);
		border-radius: 14px;
		background: #fbfcfd;
	}

	.page_register .register > fieldset > legend {
		padding: 0 0.35rem;
		color: var(--journal-navy);
		font-size: 1.05rem;
		font-weight: 700;
	}

	.page_register .buttons {
		display: flex;
		flex-wrap: wrap;
		gap: 0.65rem;
		margin-top: 1rem;
	}

	.page_register .buttons button,
	.page_register .buttons a {
		box-sizing: border-box;
		float: none;
		min-width: 9rem;
		min-height: 48px;
		margin: 0;
		border-radius: 10px;
	}
}

@media (max-width: 767px) {
	html {
		scroll-padding-top: 1rem;
	}

	body {
		background: var(--journal-paper);
		color: var(--journal-ink);
		-webkit-tap-highlight-color: rgba(8, 64, 112, 0.12);
	}

	.pkp_structure_head {
		border-bottom: 3px solid var(--journal-gold);
		box-shadow: 0 5px 18px rgba(15, 35, 56, 0.14);
	}

	.pkp_site_name_wrapper {
		min-height: 72px;
		padding-left: max(3.75rem, calc(env(safe-area-inset-left) + 3rem));
		padding-right: max(3.75rem, calc(env(safe-area-inset-right) + 3rem));
	}

	.pkp_structure_content {
		padding: 1rem 0.875rem 1.5rem;
	}

	.pkp_structure_main {
		padding: 0;
	}

	.pkp_structure_main h1,
	.pkp_structure_main h2,
	.pkp_structure_main h3 {
		color: var(--journal-ink);
		text-wrap: balance;
	}

	.pkp_structure_main h1 {
		font-size: clamp(1.55rem, 6vw, 1.9rem);
		line-height: 1.2;
	}

	.pkp_structure_main h2 {
		font-size: 1.25rem;
		line-height: 1.3;
	}

	.pkp_structure_main :is(input, select, textarea, button, a) {
		touch-action: manipulation;
	}

	.pkp_structure_main a:focus-visible,
	.pkp_structure_sidebar a:focus-visible,
	.pkp_structure_footer a:focus-visible,
	.pkp_site_nav_menu a:focus-visible {
		outline: 3px solid var(--journal-gold);
		outline-offset: 3px;
	}

	.current_issue > h2,
	.page_index_journal > section > h2,
	.page_index_journal > .additional_content > h2 {
		margin: 0 0 0.875rem;
		padding: 0 0 0.7rem;
		border-bottom: 1px solid var(--journal-line);
	}

	.current_issue > h2::after,
	.pkp_block .title::after {
		display: block;
		width: 2.5rem;
		margin-top: 0.55rem;
		border-top: 3px solid var(--journal-gold);
		content: "";
	}

	.current_issue_title {
		margin: 0 0 1rem !important;
		padding: 0.8rem 0.9rem;
		border-left: 3px solid var(--journal-gold);
		border-radius: 0 10px 10px 0;
		background: #f5f8fa;
		color: var(--journal-ink);
		font-size: 1.08rem !important;
		font-weight: 700;
		line-height: 1.4;
		text-wrap: balance;
	}

	.obj_issue_toc .heading {
		gap: 0.875rem;
	}

	.obj_issue_toc .cover {
		width: min(9rem, 42vw);
		max-width: 9rem;
		margin: 0 auto 0.25rem;
		padding: 0.4rem;
		border: 1px solid var(--journal-line);
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 5px 16px rgba(18, 47, 73, 0.09);
	}

	.obj_issue_toc .cover img {
		max-height: 12rem;
		border-radius: 7px;
	}

	.obj_issue_toc .description {
		padding: 0.9rem;
		border: 1px solid #e7edf1;
		border-radius: 12px;
		background: #f8fafb;
		color: #344c5e;
		font-size: 0.97rem;
		line-height: 1.65;
	}

	.obj_issue_toc .published,
	.obj_issue_toc .pub_id {
		color: #536b7d;
		font-size: 0.875rem;
	}

	.obj_article_summary {
		gap: 0.35rem 0.8rem;
		margin: 0 0 0.75rem !important;
		padding: 0.9rem !important;
		border: 1px solid var(--journal-line) !important;
		border-radius: 14px;
		background: #fff;
		box-shadow: 0 3px 12px rgba(18, 47, 73, 0.045);
	}

	.obj_article_summary.has_cover {
		grid-template-columns: 4rem minmax(0, 1fr);
	}

	.obj_article_summary.has_cover > .cover {
		grid-row: 1 / span 3;
		align-self: start;
		aspect-ratio: 3 / 4;
		overflow: hidden;
		border: 1px solid #e5ebef;
		border-radius: 9px;
		background: #f5f8fa;
	}

	.obj_article_summary.has_cover > .cover img {
		max-height: 5.4rem !important;
		padding: 0.15rem;
	}

	.obj_article_summary > .title,
	.obj_article_summary > .title a {
		font-size: 0.96rem !important;
		font-weight: 700;
		line-height: 1.4 !important;
		text-wrap: pretty;
	}

	.obj_article_summary .subtitle {
		margin: 0.15rem 0 0.25rem;
		color: #526a7c;
		font-size: 0.88rem;
		line-height: 1.45;
	}

	.obj_article_summary > .meta {
		color: #526a7c;
		font-size: 0.82rem;
		line-height: 1.45;
	}

	.obj_issue_toc .section,
	.obj_issue_toc .galleys {
		border-color: var(--journal-line);
		background: #fbfcfd;
	}

	.obj_article_summary .galleys_links a,
	.obj_issue_toc .galleys_links a,
	.read_more,
	a.block_make_submission_link {
		min-height: 46px;
		border-radius: 10px;
		background: var(--journal-navy);
		box-shadow: 0 3px 8px rgba(8, 64, 112, 0.13);
	}

	.pkp_structure_sidebar,
	.pkp_structure_sidebar.left {
		margin: 1.25rem 0 0;
		padding: 1rem 0 0;
		border-top: 2px solid var(--journal-gold);
	}

	.pkp_block {
		margin: 0 0 0.875rem !important;
		padding: 1rem !important;
		border: 1px solid var(--journal-line);
		border-radius: 15px;
		background: #fff !important;
		box-shadow: 0 4px 14px rgba(18, 47, 73, 0.055);
	}

	.pkp_block .title {
		margin: 0 0 0.75rem;
		padding-bottom: 0.6rem;
		border-bottom: 1px solid var(--journal-line);
		color: var(--journal-navy);
		font-size: 1.05rem;
		line-height: 1.35;
	}

	.pkp_block .title::after {
		margin-top: 0.5rem;
	}

	.pkp_block .content ul {
		margin: 0;
		padding: 0;
	}

	.pkp_block .content ul li {
		line-height: 1.45;
	}

	li.btn-link {
		min-height: 48px;
		margin: 0 0 0.55rem;
		border-radius: 11px;
		background: #31496c;
		box-shadow: 0 2px 7px rgba(18, 47, 73, 0.11);
	}

	li.btn-link > a {
		display: flex;
		min-height: 48px;
		align-items: center;
		justify-content: center;
		padding: 0.7rem 0.8rem;
		border-radius: inherit;
		font-size: 0.92rem;
		line-height: 1.35;
	}

	.pkp_block a:hover,
	.pkp_block a:active {
		filter: brightness(1.08);
	}

	.block_make_submission a,
	a.block_make_submission_link {
		display: flex;
		width: 100%;
		min-height: 48px;
		align-items: center;
		justify-content: center;
		border-radius: 10px;
		background: var(--journal-navy);
		color: #fff !important;
		font-weight: 700;
	}

	.page_register .fields {
		min-width: 0;
	}

	.page_register .context_optin .roles label,
	.page_register .consent label,
	.page_register .reviewer label {
		display: inline-flex;
		align-items: flex-start;
		gap: 0.55rem;
		min-height: 44px;
		padding: 0.45rem 0;
		font-size: 0.92rem;
		line-height: 1.45;
	}

	.page_register .buttons {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
		margin-top: 1rem;
	}

	.page_register .buttons button,
	.page_register .buttons a {
		box-sizing: border-box;
		display: flex;
		float: none;
		width: 100%;
		min-height: 48px;
		align-items: center;
		justify-content: center;
		margin: 0;
		border-radius: 10px;
		text-align: center;
	}

	.page_search .date_range fieldset {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 0.4rem;
	}

	.page_search .date_range fieldset > select[name*="Year"],
	.page_search .date_range fieldset > select[name*="Month"],
	.page_search .date_range fieldset > select[name*="Day"] {
		width: 100% !important;
		min-width: 0;
	}

	.page_search .search_advanced {
		padding: 0.75rem;
		border-radius: 14px;
	}

	.page_search .date_range select,
	.page_search .search_advanced input[type="text"] {
		min-width: 0;
		padding: 0.55rem 0.4rem;
	}

	.page_search .submit {
		margin-top: 0.75rem;
	}

	.pkp_structure_footer_wrapper {
		padding: 0 0.875rem env(safe-area-inset-bottom);
		background: transparent;
	}

	.pkp_structure_footer {
		padding: 1.25rem 0;
	}

	.pkp_footer_content {
		padding: 0;
	}

	.footerpi {
		padding: 1rem;
		border: 1px solid var(--journal-line);
		border-radius: 16px;
		background: #fff;
		box-shadow: 0 4px 14px rgba(18, 47, 73, 0.055);
	}

	.footerpi > .title {
		margin: 0 0 0.75rem;
		color: var(--journal-navy);
		font-size: 1.15rem;
	}

	.footerpi > hr {
		margin: 0 0 1rem;
		border: 0;
		border-top: 1px solid var(--journal-line);
	}

	.footerdiv {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		gap: 0.75rem;
	}

	.footerdiv2 {
		width: 100%;
		padding: 0.75rem !important;
		border: 1px solid var(--journal-line);
		border-radius: 12px;
		background: #fbfcfd;
	}

	.footerdiv2 > a {
		display: grid !important;
		grid-template-columns: 4.5rem minmax(0, 1fr);
		gap: 0.2rem 0.8rem;
		align-items: center;
	}

	.footerdiv2 img {
		grid-column: 1;
		grid-row: 1 / span 2;
		width: 4.5rem !important;
		height: 6rem !important;
		max-width: 4.5rem !important;
		max-height: 6rem !important;
		margin: 0;
		border-radius: 6px;
		background: #fff;
	}

	.footerdiv2 > a > p:first-of-type {
		grid-column: 2;
		align-self: end;
		margin: 0;
		color: var(--journal-ink);
		font-size: 0.91rem;
		font-weight: 650;
		line-height: 1.4;
	}

	.footerdiv2 > a > p.btn {
		grid-column: 2;
		align-self: start;
		justify-self: start;
		display: inline-flex !important;
		min-height: 42px;
		margin: 0.35rem 0 0 !important;
		padding: 0.55rem 0.8rem !important;
		border-radius: 9px !important;
		background: var(--journal-navy) !important;
		color: #fff !important;
		font-size: 0.88rem;
	}

	.pkp_structure_footer .footer-ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
		margin-top: 1rem;
	}

	.pkp_structure_footer .footer-ul > li {
		display: flex !important;
		min-height: 48px;
		align-items: center;
		justify-content: center;
		margin: 0 !important;
		padding: 0.55rem !important;
		border-radius: 10px !important;
		background: #31496c !important;
		font-size: 0.85rem;
		line-height: 1.3;
	}

	.pkp_structure_footer .footer-ul > li > a {
		width: 100%;
		text-align: center;
	}

	.pkp_structure_footer p.flw {
		gap: 0.5rem;
		margin: 1rem 0;
	}

	.pkp_structure_footer p.flw .indexing-badge {
		min-height: 40px;
		padding: 0.55rem 0.8rem;
		font-size: 0.82rem;
	}

	@media (prefers-reduced-motion: reduce) {
		html { scroll-behavior: auto; }
	}
}

/* Mobile component pass: make every OJS page read as one clear column, then
   present sidebar tools as compact, explicit actions after the main content. */
@media (max-width: 990px) {
	html,
	body {
		max-width: 100%;
		overflow-x: clip;
	}

	.pkp_structure_page,
	.pkp_structure_content,
	.pkp_structure_main,
	.pkp_structure_sidebar,
	.pkp_structure_footer_wrapper {
		box-sizing: border-box;
		min-width: 0;
		max-width: 100%;
	}

	.pkp_structure_content {
		gap: 1.25rem;
	}

	.pkp_structure_sidebar {
		border-color: var(--journal-gold);
	}

	.pkp_structure_sidebar .pkp_block {
		margin-bottom: 0.8rem !important;
		padding: 1rem !important;
	}

	.pkp_block .title {
		color: #173f5d;
		font-weight: 750;
		letter-spacing: 0.01em;
	}

	.pkp_block .content,
	.pkp_block .content > *,
	.pkp_block .content li,
	.pkp_block .content a {
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
		overflow-wrap: anywhere;
	}

	.pkp_block a,
	.pkp_structure_main a,
	.pkp_structure_footer a,
	.pkp_structure_footer button,
	.pkp_structure_main button,
	.pkp_structure_main input[type="submit"],
	.pkp_structure_main input[type="button"] {
		-webkit-tap-highlight-color: rgba(8, 64, 112, 0.14);
		touch-action: manipulation;
	}

	.pkp_block a:focus-visible,
	.pkp_structure_main a:focus-visible,
	.pkp_structure_main button:focus-visible,
	.pkp_structure_main input:focus-visible,
	.pkp_structure_main select:focus-visible,
	.pkp_structure_main textarea:focus-visible,
	.pkp_structure_footer a:focus-visible {
		outline: 3px solid #d9a441;
		outline-offset: 3px;
	}

	/* Navigation links remain true links, with the button treatment on the hit area. */
	#customblock-links .content ul.sidemenu,
	#customblock-links .content ul.sidemenu.full {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.55rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	#customblock-links .content li.btn-link {
		display: flex;
		min-width: 0;
		min-height: 54px;
		margin: 0;
		border: 1px solid #294966;
		border-radius: 11px;
		background: #31496c;
		box-shadow: 0 2px 6px rgba(18, 47, 73, 0.1);
	}

	#customblock-links .content li.btn-link > a {
		display: flex !important;
		width: 100%;
		min-height: 52px;
		align-items: center;
		justify-content: space-between;
		gap: 0.4rem;
		padding: 0.65rem 0.75rem;
		border-radius: inherit;
		color: #fff !important;
		font-size: 0.88rem;
		font-weight: 650;
		line-height: 1.3;
		text-align: left;
		text-decoration: none;
	}

	#customblock-links .content li.btn-link > a::after {
		flex: 0 0 auto;
		width: 0.45rem;
		height: 0.45rem;
		border-top: 2px solid #f1c66b;
		border-right: 2px solid #f1c66b;
		content: "";
		transform: rotate(45deg);
	}

	#customblock-links .content li.btn-link:hover,
	#customblock-links .content li.btn-link:focus-within {
		border-color: #0c5c8d;
		background: #0c5c8d;
	}

	#customblock-notifications .content ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.6rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	#customblock-notifications .content li {
		display: flex;
		min-height: 48px;
		align-items: center;
		justify-content: center;
		margin: 0;
		padding: 0.65rem 0.75rem;
		border: 1px solid #d7e2e9;
		border-radius: 10px;
		background: #f7f9fb;
		color: #40596c;
		font-size: 0.9rem;
		font-weight: 600;
		line-height: 1.3;
		text-align: center;
	}

	#customblock-notifications .content a {
		display: flex;
		min-height: 46px;
		align-items: center;
		justify-content: center;
		padding: 0.6rem 0.75rem;
		border: 1px solid #b9ccda;
		border-radius: 10px;
		background: #f3f8fb;
		color: #173f5d !important;
		font-weight: 700;
		text-decoration: none;
	}

	#customblock-notifications .content a:hover,
	#customblock-notifications .content a:focus-visible {
		border-color: #99b4c7;
		background: #eaf2f7;
		color: #084070 !important;
	}

	.block_information .content ul {
		display: grid;
		gap: 0.35rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.block_information .content li {
		margin: 0;
		padding: 0 !important;
	}

	.block_information .content li > a {
		display: flex;
		min-height: 46px;
		align-items: center;
		justify-content: space-between;
		gap: 0.5rem;
		padding: 0.55rem 0.7rem;
		border-radius: 9px;
		color: #284c67 !important;
		font-size: 0.93rem;
		font-weight: 600;
		text-decoration: none;
	}

	.block_information .content li > a::after {
		flex: 0 0 auto;
		width: 0.42rem;
		height: 0.42rem;
		border-top: 2px solid #b28631;
		border-right: 2px solid #b28631;
		content: "";
		transform: rotate(45deg);
	}

	.block_information .content li > a:hover,
	.block_information .content li > a:focus-visible {
		background: #eef4f8;
		color: #084070 !important;
	}

	.pkp_block.block_make_submission,
	.block_make_submission {
		padding: 0.7rem !important;
	}

	.block_make_submission a,
	a.block_make_submission_link {
		min-height: 52px;
		padding: 0.75rem 1rem;
		border: 1px solid #07385f;
		border-radius: 11px;
		background: #084070;
		box-shadow: 0 4px 10px rgba(8, 64, 112, 0.18);
		color: #fff !important;
		font-size: 0.96rem;
		font-weight: 700;
		line-height: 1.35;
		text-align: center;
	}

	.pkp_structure_main :is(.cmp_button, button, input[type="submit"], input[type="button"]),
	.pkp_structure_footer .footer-ul > li > a,
	.footerdiv2 > a > p.btn {
		min-height: 48px;
		border-radius: 10px;
		font-weight: 700;
	}

	.pkp_structure_main .cmp_notification {
		margin: 1rem 0;
		padding: 0.9rem 1rem;
		border-radius: 0 10px 10px 0;
		font-size: 0.95rem;
		line-height: 1.5;
	}

	.obj_issue_summary,
	.obj_issue_toc,
	.obj_article_details,
	.page_search .search_advanced,
	.page_login,
	.page_register {
		min-width: 0;
		max-width: 100%;
	}

	.footerpi {
		margin-top: 1.25rem;
	}

	.footerdiv {
		align-items: stretch !important;
	}

	.footerdiv2 {
		box-sizing: border-box;
	}
}

@media (max-width: 359px) {
	#customblock-links .content ul.sidemenu,
	#customblock-links .content ul.sidemenu.full {
		grid-template-columns: minmax(0, 1fr);
	}

	#customblock-links .content li.btn-link > a {
		font-size: 0.94rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Minimal header notification control with an accessible, touch-friendly popover. */
.pkp_site_name_wrapper {
	position: relative;
}

.journal-alert-menu {
	position: absolute;
	top: 50%;
	right: 1rem;
	z-index: 2;
	transform: translateY(-50%);
}

.journal-alert-menu__toggle {
	display: inline-flex;
	width: 42px;
	min-width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	cursor: pointer;
	transition: background-color 150ms ease, border-color 150ms ease;
}

.journal-alert-menu__toggle:hover,
.journal-alert-menu__toggle[aria-expanded="true"] {
	border-color: rgba(255, 255, 255, 0.72);
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.journal-alert-menu__toggle:focus-visible {
	outline: 3px solid #f0c66f;
	outline-offset: 3px;
}

.journal-alert-menu__icon {
	width: 1.2rem;
	height: 1.2rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.journal-alert-menu__panel {
	position: absolute;
	top: calc(100% + 0.7rem);
	right: 0;
	box-sizing: border-box;
	width: min(280px, calc(100vw - 1.5rem));
	padding: 0.75rem;
	border: 1px solid #dce5ec;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 16px 36px rgba(10, 36, 58, 0.2);
	color: #18354a;
}

.journal-alert-menu__panel[hidden] { display: none; }

.journal-alert-menu__title {
	margin: 0 0 0.45rem;
	padding: 0.25rem 0.4rem 0.65rem;
	border-bottom: 1px solid #e6edf2;
	color: #18354a;
	font-size: 0.94rem;
	font-weight: 750;
}

.journal-alert-menu__panel a {
	display: flex;
	min-height: 44px;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.55rem 0.65rem;
	border-radius: 9px;
	color: #234b68 !important;
	font-size: 0.92rem;
	font-weight: 650;
	text-decoration: none !important;
}

.journal-alert-menu__panel a::after {
	width: 0.4rem;
	height: 0.4rem;
	border-top: 1.5px solid #7891a3;
	border-right: 1.5px solid #7891a3;
	content: "";
	transform: rotate(45deg);
}

.journal-alert-menu__panel a:hover,
.journal-alert-menu__panel a:focus-visible {
	background: #f0f6fa;
	color: #084070 !important;
	outline: none;
}

.journal-alert-menu__panel a:focus-visible { box-shadow: 0 0 0 2px #d9a441; }

.indexing-logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
	gap: 0.75rem;
	max-width: 960px;
	margin: 1.1rem auto 0;
}

.pkp_structure_footer p.flw {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
	gap: 0.75rem;
	max-width: 960px;
	margin: 1.1rem auto 0;
}

.indexing-logo {
	box-sizing: border-box;
	display: flex;
	min-height: 84px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.8rem;
	border: 1px solid #e0e7ed;
	border-radius: 12px;
	background: #fff;
	color: #25445c;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(16, 42, 64, 0.05);
	transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.indexing-logo:hover,
.indexing-logo:focus-visible {
	border-color: #b7cad8;
	box-shadow: 0 5px 14px rgba(16, 42, 64, 0.1);
	color: #123d60;
	transform: translateY(-2px);
}

.indexing-logo:focus-visible {
	outline: 3px solid #d9a441;
	outline-offset: 2px;
}

.indexing-logo__wordmark {
	display: block;
	color: #164a72;
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.indexing-logo__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: 44px;
	object-fit: contain;
}

.indexing-logo--sinta .indexing-logo__image {
	width: min(100%, 190px);
	object-fit: cover;
}

.indexing-logo__label {
	color: #526a7b;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.25;
}

.indexing-logo--wos .indexing-logo__wordmark { color: #2b6a9e; }
.indexing-logo--doaj .indexing-logo__wordmark { color: #272727; letter-spacing: 0.08em; }
.indexing-logo--cabi .indexing-logo__wordmark { color: #4b7b32; letter-spacing: 0.06em; }
.indexing-logo--dimensions .indexing-logo__wordmark { color: #542d80; }
.indexing-logo--scholar .indexing-logo__wordmark { color: #4285f4; }
.indexing-logo--sinta .indexing-logo__wordmark { color: #145e9b; letter-spacing: 0.12em; }

@media (max-width: 767px) {
	.journal-alert-menu {
		right: max(0.65rem, env(safe-area-inset-right));
	}

	.journal-alert-menu__toggle {
		width: 44px;
		min-width: 44px;
		height: 44px;
		background: rgba(255, 255, 255, 0.14);
	}

	.journal-alert-menu__icon { width: 1.25rem; height: 1.25rem; }

	/* Keep the hamburger, masthead logo, and notification control in distinct
	   touch zones instead of squeezing them against the logo artwork. */
	.pkp_site_name_wrapper {
		min-height: 76px !important;
		padding: 0.55rem 3.7rem !important;
	}

	.pkp_site_name,
	.pkp_site_name .is_img {
		width: 100%;
	}

	.pkp_site_name .is_img img {
		max-width: min(210px, calc(100vw - 118px));
		max-height: 42px;
	}

	.journal-alert-menu {
		right: max(0.65rem, env(safe-area-inset-right));
	}

	.journal-alert-menu__toggle {
		border-color: transparent;
		background: transparent;
	}

	.journal-alert-menu__toggle:hover,
	.journal-alert-menu__toggle[aria-expanded="true"] {
		border-color: rgba(255, 255, 255, 0.2);
		background: rgba(255, 255, 255, 0.12);
	}

	.journal-alert-menu__panel {
		top: calc(100% + 0.85rem);
		width: min(272px, calc(100vw - 1.5rem));
		padding: 0.9rem;
		border-radius: 15px;
	}

	.journal-alert-menu__title {
		margin-bottom: 0.6rem;
		padding: 0.3rem 0.45rem 0.75rem;
	}

	.journal-alert-menu__panel a {
		min-height: 48px;
		padding: 0.65rem 0.7rem;
	}

	.indexing-logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.55rem;
		padding: 0 0.25rem;
	}

	.indexing-logo {
		min-height: 76px;
		padding: 0.65rem 0.45rem;
		border-radius: 10px;
	}

	.indexing-logo__wordmark { font-size: 1rem; }
	.indexing-logo__label { font-size: 0.68rem; }
}

@media (max-width: 359px) {
	.pkp_site_name .is_img img {
		max-width: min(188px, calc(100vw - 118px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.journal-alert-menu__toggle,
	.indexing-logo { transition: none; }
}

/* A confident editorial masthead for wide screens; compact navigation remains
   governed by the mobile and tablet rules above. */
@media (min-width: 992px) {
	.pkp_structure_head {
		position: relative;
		background: #0b3c64;
		border-bottom: 3px solid #4aa1b2;
		box-shadow: 0 8px 24px rgba(11, 38, 62, 0.12);
	}

	.pkp_structure_head::before {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 3px;
		background: #416483;
		content: "";
	}

	.has_site_logo .pkp_head_wrapper {
		box-sizing: border-box;
		width: min(1180px, calc(100% - 64px));
		padding: 18px 0 0;
	}

	.pkp_site_name_wrapper {
		box-sizing: border-box;
		display: flex;
		min-height: 104px;
		align-items: center;
		padding: 0 0 12px;
		border-bottom: 1px solid #315b7c;
	}

	.pkp_site_name {
		position: relative;
		left: auto;
		right: auto;
		width: auto;
		margin: 0;
		padding: 0;
		line-height: 0;
		text-align: left;
	}

	.pkp_site_name .is_img {
		margin: 0;
		transition: opacity 160ms ease, transform 160ms ease;
	}

	.pkp_site_name .is_img img {
		max-width: min(520px, 52vw);
		max-height: 84px;
	}

	.pkp_site_name .is_img:hover,
	.pkp_site_name .is_img:focus-visible {
		opacity: 0.94;
		transform: translateY(-1px);
	}

	#headerNavigationContainer #navigationUserWrapper {
		position: absolute;
		top: 16px;
		right: 0;
		left: auto;
		width: max-content;
		padding: 0;
		transform: none;
	}

	.pkp_navigation_user {
		display: flex;
		width: auto;
		align-items: center;
		justify-content: flex-end;
		gap: 0.65rem;
		padding: 0;
	}

	.pkp_navigation_user > li > a {
		box-sizing: border-box;
		display: inline-flex;
		min-height: 44px;
		align-items: center;
		justify-content: center;
		margin: 0;
		padding: 0 1.1rem;
		border: 1px solid rgba(225, 239, 247, 0.62);
		border-radius: 7px;
		background: transparent;
		color: #fff;
		font-size: 0.88rem;
		font-weight: 650;
		line-height: 1;
		transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
	}

	.pkp_navigation_user > li:last-child > a {
		border-color: #d8eff1;
		background: #d8eff1;
		color: #123d60;
		box-shadow: 0 2px 5px rgba(3, 24, 42, 0.12);
	}

	.pkp_navigation_user > li > a:hover,
	.pkp_navigation_user > li > a:focus-visible {
		border-color: #d8eff1;
		background: rgba(216, 239, 241, 0.1);
		color: #fff;
		outline: none;
	}

	.pkp_navigation_user > li:last-child > a:hover,
	.pkp_navigation_user > li:last-child > a:focus-visible {
		border-color: #e8f7f8;
		background: #e8f7f8;
		color: #123d60;
	}

	.pkp_site_name_wrapper .journal-alert-menu {
		top: 50%;
		right: 0;
		transform: translateY(-50%);
	}

	.pkp_site_name_wrapper .journal-alert-menu__toggle {
		box-sizing: border-box;
		width: 44px;
		min-width: 44px;
		height: 44px;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #e5f4f5;
	}

	.pkp_site_name_wrapper .journal-alert-menu__icon {
		width: 1.55rem;
		height: 1.55rem;
		stroke-width: 1.7;
	}

	.pkp_site_name_wrapper .journal-alert-menu__toggle:focus-visible {
		outline-color: #e5f4f5;
	}

	.pkp_site_name_wrapper .journal-alert-menu__toggle:hover,
	.pkp_site_name_wrapper .journal-alert-menu__toggle[aria-expanded="true"] {
		background: transparent;
		color: #fff;
	}

	.pkp_site_name_wrapper .journal-alert-menu {
		top: -2px;
		right: 158px;
		transform: none;
	}

	.pkp_site_nav_menu {
		margin-top: 0;
		background: #082f50;
	}

	.pkp_navigation_primary_row {
		min-height: 62px;
	}

	.pkp_navigation_primary_wrapper {
		box-sizing: border-box;
		display: flex;
		width: 100%;
		min-height: 62px;
		align-items: center;
		justify-content: space-between;
		padding: 0;
	}

	.pkp_navigation_primary {
		display: flex;
		max-width: none;
		align-items: center;
		gap: 0.55rem;
		margin: 0;
	}

	.pkp_navigation_primary > li > a,
	.pkp_navigation_search_wrapper a {
		box-sizing: border-box;
		display: inline-flex;
		min-height: 44px;
		align-items: center;
		justify-content: center;
		margin: 0;
		padding: 0 1.15rem;
		border: 1px solid transparent;
		border-radius: 7px;
		color: rgba(255, 255, 255, 0.92);
		font-size: 0.92rem;
		font-weight: 600;
		line-height: 1.15;
		transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
	}

	.pkp_navigation_primary > li:first-child > a,
	.pkp_navigation_search_wrapper a {
		margin-left: 0;
	}

	.pkp_navigation_primary > li:last-child > a,
	.pkp_navigation_search_wrapper a {
		margin-right: 0;
	}

	.pkp_navigation_primary > li > a:hover,
	.pkp_navigation_primary > li > a:focus-visible,
	.pkp_navigation_search_wrapper a:hover,
	.pkp_navigation_search_wrapper a:focus-visible {
		border-color: #547692;
		background: #174d73;
		color: #fff;
		outline: none;
	}

	.pkp_navigation_primary > li > a:focus-visible,
	.pkp_navigation_search_wrapper a:focus-visible {
		box-shadow: 0 0 0 3px rgba(216, 239, 241, 0.45);
	}

	.pkp_navigation_primary > li > a[aria-haspopup]::after {
		margin-left: 0.55rem;
		border-top-color: #7cc5cf;
	}

	.pkp_navigation_primary ul {
		margin-top: 0.35rem;
		padding: 0.4rem;
		border: 1px solid #dce5ec;
		border-radius: 12px;
		box-shadow: 0 14px 32px rgba(10, 36, 58, 0.22);
	}

	.pkp_navigation_primary ul a {
		min-height: 42px;
		padding: 0.65rem 0.8rem;
		border-left: 0;
		border-radius: 8px;
		color: #173750;
		font-weight: 550;
	}

	.pkp_navigation_primary ul a:hover,
	.pkp_navigation_primary ul a:focus-visible {
		background: #f1f6fa;
		color: #084070;
	}

	.pkp_navigation_search_wrapper {
		float: none;
		margin: 0 0 0 1.1rem;
		padding-left: 1.1rem;
		border-left: 1px solid rgba(216, 239, 241, 0.24);
	}

	.pkp_navigation_search_wrapper a {
		gap: 0.55rem;
		border-color: #70c5ce;
		background: #70c5ce;
		color: #092f4d;
		box-shadow: 0 2px 5px rgba(3, 24, 42, 0.14);
	}

	.pkp_navigation_search_wrapper a:hover,
	.pkp_navigation_search_wrapper a:focus-visible {
		border-color: #91d8de;
		background: #91d8de;
		color: #092f4d;
	}
}
