/*
 * IJMR header mobile correction.
 * The active OJS theme injects a high-specificity !important logo width.
 * These selectors intentionally outrank it at tablet and phone breakpoints.
 */

@media (max-width: 1180px) {
	.pkp_structure_head .icrd_logo_link img[src*="ijmr-logo-white.svg"] {
		flex: 0 0 auto !important;
		width: 150px !important;
		max-width: 150px !important;
		height: auto !important;
		max-height: 62px !important;
		object-fit: contain !important;
	}
}

@media (max-width: 640px) {
	.icrd_utility_inner {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: center !important;
		min-height: 48px !important;
		padding: 6px 10px !important;
		gap: 3px !important;
	}

	.icrd_issn_line,
	.icrd_utility_links {
		justify-content: center !important;
		width: 100% !important;
	}

	.icrd_issn_line {
		flex-wrap: nowrap !important;
	}

	.icrd_utility_links {
		gap: 0 !important;
	}

	.pkp_structure_head .icrd_logo_link img[src*="ijmr-logo-white.svg"] {
		width: 105px !important;
		max-width: 105px !important;
		max-height: 54px !important;
	}

	.icrd_header_main {
		width: 100% !important;
		max-width: none !important;
	}
}

@media (max-width: 360px) {
	.pkp_structure_head .icrd_logo_link img[src*="ijmr-logo-white.svg"] {
		width: 82px !important;
		max-width: 82px !important;
		max-height: 46px !important;
	}
}
