/**
 * plugins/themes/educationGold/styles/responsive.css
 *
 * Tablet (<= 1024px) and Mobile (<= 767px) responsive rules with zero horizontal scrolling.
 */

@media (max-width: 1024px) {
	.eg-journal-name {
		font-size: 1.5rem;
	}

	.eg-hero-title {
		font-size: 2rem;
	}

	.eg-hero-tagline {
		font-size: 1.15rem;
	}

	.eg-page-layout.has-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.eg-editors-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eg-article-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.eg-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eg-footer-col + .eg-footer-col {
		border-left: 0;
		padding-left: 0;
	}

	.eg-social-buttons {
		justify-content: flex-start;
	}

	.eg-search-form {
		width: 195px;
	}

	.eg-stats-kpi-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eg-stats-two-col,
	.eg-issue-contrib-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.eg-engagement-strip {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.eg-container {
		padding-left: 14px;
		padding-right: 14px;
	}

	.eg-content-band {
		padding: 20px 0 30px;
	}

	.eg-card-header {
		padding: 11px 14px;
	}

	.eg-card-title {
		font-size: 1.0625rem;
	}

	.eg-card-body {
		padding: 14px 15px;
	}

	.page_about,
	.page_submissions,
	.page_contact,
	.page_privacy,
	.page_login,
	.page_register,
	.page_lost_password,
	.page_announcements,
	.page_announcement,
	.page_category,
	.page_section,
	.page_index_site {
		padding: 16px;
	}

	.cmp_breadcrumbs {
		padding: 8px 12px;
		font-size: 0.78125rem;
	}

	.cmp_pagination {
		justify-content: center;
		gap: 8px;
	}

	.eg-topbar-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding-top: 6px;
		padding-bottom: 6px;
	}

	.eg-topbar-contact {
		gap: 6px 8px;
	}

	.eg-topbar-link {
		word-break: break-word;
	}

	.eg-topbar-user {
		width: 100%;
		justify-content: flex-start;
	}

	.eg-user-nav .eg-submenu {
		left: 0;
		right: auto;
		max-width: calc(100vw - 28px);
	}

	.eg-main-header {
		padding: 12px 0;
	}

	.eg-main-header-inner {
		flex-wrap: nowrap;
		align-items: center;
		gap: 10px;
	}

	.eg-journal-brand {
		gap: 10px;
	}

	.eg-journal-logo img {
		height: 44px;
	}

	.eg-brand-divider {
		display: none;
	}

	.eg-journal-name {
		font-size: 1.15rem;
		line-height: 1.2;
		overflow-wrap: anywhere;
	}

	.eg-journal-tagline {
		font-size: 0.8125rem;
	}

	.eg-publisher-badge {
		display: none;
	}

	.eg-nav-toggle {
		display: inline-flex;
		flex: 0 0 42px;
	}

	/* Collapsible Mobile Navigation Drawer */
	.eg-navbar {
		display: none;
	}

	.eg-navbar.is-open {
		display: block;
	}

	.eg-navbar-inner {
		flex-direction: column;
		align-items: stretch;
		padding-top: 10px;
		padding-bottom: 14px;
	}

	.eg-primary-nav {
		flex-direction: column;
		align-items: stretch;
	}

	.eg-primary-nav > li > a {
		width: 100%;
		justify-content: space-between;
		padding: 11px 12px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.eg-primary-nav > li.is-active > a {
		border-radius: var(--eg-radius-sm);
	}

	.eg-primary-nav .eg-submenu {
		position: static;
		border: 0;
		box-shadow: none;
		border-radius: 0;
		background-color: rgba(0, 0, 0, 0.14);
	}

	.eg-primary-nav .eg-submenu a {
		color: #FFFFFF;
		padding-left: 24px;
	}

	.eg-primary-nav .eg-submenu a:hover {
		background-color: rgba(255, 255, 255, 0.12);
		color: #FFF8E8;
	}

	.eg-search-form {
		width: 100%;
		margin-top: 8px;
	}

	/* Hero Mobile */
	.eg-hero-slide {
		min-height: 300px;
		padding: 24px 0 64px;
	}

	.eg-hero-scrim {
		background: linear-gradient(
			180deg,
			rgba(255, 251, 242, 0.94) 0%,
			rgba(255, 248, 232, 0.88) 70%,
			rgba(255, 248, 232, 0.72) 100%
		);
	}

	.eg-hero-content {
		max-width: 100%;
	}

	.eg-hero-title {
		font-size: 1.5rem;
		overflow-wrap: anywhere;
	}

	.eg-hero-tagline {
		font-size: 1.0625rem;
	}

	.eg-hero-description {
		font-size: 0.9rem;
		margin-bottom: 16px;
	}

	.eg-hero-meta-strip {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.eg-hero-meta-item {
		padding: 8px 12px;
	}

	.eg-hero-meta-item + .eg-hero-meta-item {
		border-left: 0;
		border-top: 1px solid rgba(var(--eg-primary-rgb), 0.18);
	}

	.eg-hero-arrow {
		display: none;
	}

	.eg-hero-dots {
		bottom: 32px;
	}

	.eg-hero-wave {
		height: 36px;
	}

	/* Indexed & Abstracted By Mobile */
	.eg-indexed-body {
		gap: 8px 10px;
	}

	.eg-indexed-body a:has(img) {
		padding: 6px 10px;
	}

	.eg-indexed-body img {
		max-height: 36px;
		max-width: 130px;
	}

	/* Articles & Cards Mobile */
	.eg-issue-card,
	.eg-summary-card {
		flex-direction: column;
	}

	.eg-article-row {
		padding: 13px;
		gap: 14px;
	}

	.eg-article-thumb {
		flex: 0 0 110px;
		width: 110px;
		aspect-ratio: 1 / 1;
	}

	.eg-article-title {
		font-size: 0.96875rem;
	}

	.eg-article-footer {
		gap: 8px 10px;
	}

	.eg-issue-cover,
	.eg-summary-cover {
		width: 100%;
		flex: none;
	}

	.eg-issue-card {
		align-items: flex-start;
	}

	.eg-issue-cover {
		max-width: 180px;
	}

	.eg-issue-toc-cover {
		flex: none;
		width: 100%;
		max-width: 160px;
	}

	.eg-issue-toc-meta {
		flex: 1 1 100%;
	}

	.eg-masthead-grid,
	.eg-search-page-form .date_range,
	.page_index_site .journals ul {
		grid-template-columns: minmax(0, 1fr);
	}

	.eg-article-detail-title {
		font-size: 1.375rem;
	}

	.eg-article-detail-subtitle {
		font-size: 1rem;
	}

	.eg-author-chip {
		width: 100%;
		padding: 10px 12px;
	}

	.eg-usage-header-right {
		width: 100%;
		justify-content: space-between;
		gap: 8px 12px;
	}

	.eg-dual-chart {
		grid-template-columns: repeat(12, minmax(42px, 1fr));
		gap: 6px;
		padding: 12px 8px 8px;
	}

	.eg-dual-chart-wide .eg-dual-track,
	.eg-dual-track {
		width: 12px;
		height: 96px;
	}

	/* Footer Mobile */
	.eg-footer-wave {
		height: 34px;
	}

	.eg-footer-main {
		padding: 22px 0 24px;
	}

	.eg-footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.eg-footer-logo-wrap {
		align-items: flex-start;
	}

	.eg-footer-journal-name {
		font-size: 1.0625rem;
		overflow-wrap: anywhere;
	}

	.eg-footer-bottom-inner {
		flex-direction: column;
		gap: 4px;
	}

	.eg-bottom-sep {
		display: none;
	}

	/* Statistics Mobile */
	.eg-stats-kpi-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.eg-stat-tile {
		padding: 14px 10px;
	}

	.eg-stat-value {
		font-size: 1.4rem;
	}

	.eg-turnaround-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.eg-engagement-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eg-stats-table th,
	.eg-stats-table td {
		padding: 8px 10px;
		font-size: 0.8125rem;
	}

	.eg-top-article-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.eg-issue-contrib-summary {
		flex-wrap: wrap;
		gap: 8px 10px;
		padding: 11px 12px;
	}

	.eg-issue-contrib-title {
		font-size: 0.9375rem;
	}

	.eg-issue-contrib-badges {
		width: 100%;
		justify-content: flex-start;
	}

	.eg-issue-contrib-chevron {
		margin-left: auto;
	}

	.eg-issue-contrib-body {
		padding: 12px;
	}

	.eg-issue-contrib-panel {
		padding: 10px;
	}

	.eg-total-users-banner,
	.eg-turnaround-chip-wide {
		flex-wrap: wrap;
		gap: 6px 12px;
	}

	/* PDF & Galley Viewer Mobile */
	.header_view {
		height: 48px;
	}

	.header_view .return {
		flex: 0 0 46px;
		width: 46px;
		height: 48px;
	}

	.header_view .title {
		padding: 0 10px;
		font-size: 0.875rem;
	}

	.header_view .download {
		height: 32px;
		margin-right: 10px;
		padding: 0 12px;
		gap: 6px;
		font-size: 0.78125rem;
	}

	[dir="rtl"] .header_view .download {
		margin-right: 0;
		margin-left: 10px;
	}

	.galley_view {
		top: 48px;
	}

	/* Floating Actions Mobile */
	.eg-floating-actions {
		right: 14px;
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		gap: 8px;
	}

	[dir="rtl"] .eg-floating-actions {
		right: auto;
		left: 14px;
	}

	.eg-fab-top {
		width: 44px;
		height: 44px;
	}
}

@media (max-width: 480px) {
	.eg-article-row {
		flex-direction: column;
		gap: 12px;
	}

	.eg-article-thumb {
		flex: none;
		width: 150px;
		max-width: 100%;
		aspect-ratio: 1 / 1;
		align-self: center;
	}

	.eg-article-actions {
		width: 100%;
	}

	.eg-galley-btn,
	.eg-read-more-btn {
		min-height: 36px;
	}

	.eg-editors-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.header_view .download {
		padding: 0 10px;
		font-size: 0.75rem;
	}
}

@media (max-width: 359px) {
	.eg-stats-kpi-grid,
	.eg-engagement-strip {
		grid-template-columns: minmax(0, 1fr);
	}
}
