/* BE4x4 Theme additive layer — deliberately small in Phase 1. */

/* Keep keyboard focus visible on team cards. */
.be4x4-theme .team-member:focus,
.be4x4-theme .team-member:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
}

/* On touch devices JS toggles this class so the old hover description is usable. */
.be4x4-theme.be4x4-team-touch-details .team-member.be4x4-details-open .details {
	opacity: 1;
	visibility: visible;
	transform: none;
}

@media (max-width: 767px) {
	.be4x4-theme .our-team .team-member {
		cursor: pointer;
	}
}


/* Profile action is additive: existing name/profile links keep working. */
.be4x4-theme .our-team .be4x4-team-profile-action {
	margin: 14px 0 0;
}
.be4x4-theme .our-team .be4x4-team-profile-link {
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid currentColor;
	border-radius: 3px;
	font-weight: 600;
	text-decoration: none;
}
.be4x4-theme .our-team .be4x4-team-profile-link:focus,
.be4x4-theme .our-team .be4x4-team-profile-link:hover {
	text-decoration: underline;
}


/* BE4x4 Theme 0.3.0 — optional homepage quick access section. */
.be4x4-quick-access {
	padding: 70px 0 60px;
	background: #fff;
}
.be4x4-quick-access-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}
.be4x4-quick-access-card {
	min-width: 0;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}
.be4x4-quick-access-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 24px;
	color: inherit;
	text-decoration: none;
}
a.be4x4-quick-access-link:hover,
a.be4x4-quick-access-link:focus {
	color: inherit;
	text-decoration: none;
	border-color: currentColor;
}
.be4x4-quick-access-media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	margin-bottom: 16px;
}
.be4x4-quick-access-media img {
	max-width: 100%;
	max-height: 90px;
	width: auto;
	height: auto;
}
.be4x4-quick-access-card h3 {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
}
.be4x4-quick-access-card p {
	margin: 0 0 18px;
	line-height: 1.6;
}
.be4x4-quick-access-action {
	margin-top: auto;
	font-weight: 700;
}
@media (max-width: 991px) {
	.be4x4-quick-access-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.be4x4-quick-access { padding: 50px 0 42px; }
	.be4x4-quick-access-grid { grid-template-columns: 1fr; gap: 16px; }
	.be4x4-quick-access-link { padding: 20px; }
}


/* BE4x4 Theme 0.4.0 — optional institutional accreditations / alliances. */
.be4x4-accreditations {
	padding: 70px 0 60px;
	background: #f7f7f7;
}
.be4x4-accreditations-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
	margin-top: 28px;
}
.be4x4-accreditation-item {
	min-width: 0;
	background: #fff;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 8px;
}
.be4x4-accreditation-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 22px 18px;
	color: inherit;
	text-align: center;
	text-decoration: none;
}
a.be4x4-accreditation-link:hover,
a.be4x4-accreditation-link:focus {
	color: inherit;
	text-decoration: none;
	border-color: currentColor;
}
.be4x4-accreditation-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100px;
	width: 100%;
	margin-bottom: 14px;
}
.be4x4-accreditation-logo img {
	max-width: 100%;
	max-height: 96px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.be4x4-accreditation-item h3 {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.35;
}
.be4x4-accreditation-item p {
	margin: 0;
	line-height: 1.5;
}
@media (max-width: 991px) {
	.be4x4-accreditations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.be4x4-accreditations { padding: 50px 0 42px; }
	.be4x4-accreditations-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* BE4x4 Theme 0.5.0 — optional Academia / upcoming courses section. */
.be4x4-academy {
	padding: 70px 0 60px;
	background: #fff;
}
.be4x4-academy-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}
.be4x4-academy-card {
	min-width: 0;
	background: #fff;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 10px;
	overflow: hidden;
}
.be4x4-academy-media {
	aspect-ratio: 16 / 9;
	background: #f3f3f3;
	overflow: hidden;
}
.be4x4-academy-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.be4x4-academy-content { padding: 22px; }
.be4x4-academy-badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 8px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}
.be4x4-academy-card h3 {
	margin: 0 0 8px;
	font-size: 21px;
	line-height: 1.3;
}
.be4x4-academy-meta {
	margin: 0 0 10px;
	font-weight: 700;
}
.be4x4-academy-action {
	display: inline-block;
	margin-top: 8px;
	font-weight: 700;
	text-decoration: underline;
}
.be4x4-academy-more {
	margin: 28px 0 0;
	text-align: center;
	font-weight: 700;
}
@media (max-width: 991px) {
	.be4x4-academy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.be4x4-academy { padding: 50px 0 42px; }
	.be4x4-academy-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* BE4x4 Theme 0.8.0 — optional public events / calls section. */
.be4x4-events {
	padding: 70px 0 60px;
	background: #f7f7f7;
}
.be4x4-events-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}
.be4x4-event-card {
	min-width: 0;
	background: #fff;
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 10px;
	overflow: hidden;
}
.be4x4-event-media {
	aspect-ratio: 16 / 9;
	background: #eee;
	overflow: hidden;
}
.be4x4-event-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.be4x4-event-content { padding: 22px; }
.be4x4-event-badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 8px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}
.be4x4-event-card h3 {
	margin: 0 0 10px;
	font-size: 21px;
	line-height: 1.3;
}
.be4x4-event-meta {
	margin: 0 0 7px;
	font-weight: 600;
}
.be4x4-event-action {
	display: inline-block;
	margin-top: 8px;
	font-weight: 700;
	text-decoration: underline;
}
.be4x4-events-more {
	margin: 28px 0 0;
	text-align: center;
	font-weight: 700;
}
@media (max-width: 991px) {
	.be4x4-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.be4x4-events { padding: 50px 0 42px; }
	.be4x4-events-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* BE4x4 Theme 2.4.0 — maintained responsive compatibility layer.
 * Scope is opt-in through .be4x4-modern-responsive and does not hide content. */
@media (max-width: 991px) {
	.be4x4-modern-responsive .site-content > .container {
		width: 100%;
		max-width: 100%;
		padding-left: 20px;
		padding-right: 20px;
	}
	.be4x4-modern-responsive .content-left-wrap,
	.be4x4-modern-responsive .sidebar-wrap,
	.be4x4-modern-responsive #primary,
	.be4x4-modern-responsive #secondary {
		float: none;
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	.be4x4-modern-responsive .content-left-wrap {
		padding-left: 0;
		padding-right: 0;
	}
	.be4x4-modern-responsive .sidebar-wrap,
	.be4x4-modern-responsive #secondary {
		margin-top: 34px;
	}

	/* Historical SiteOrigin/page-builder rows sometimes retain desktop widths inline. */
	.be4x4-modern-responsive .panel-grid {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.be4x4-modern-responsive .panel-grid-cell {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.be4x4-modern-responsive .panel-grid-cell + .panel-grid-cell {
		margin-top: 18px !important;
	}
}

@media (max-width: 767px) {
	.be4x4-modern-responsive .site-content {
		overflow-x: hidden;
	}
	.be4x4-modern-responsive .site-content > .container {
		padding-left: 16px;
		padding-right: 16px;
	}
	.be4x4-modern-responsive .entry-content,
	.be4x4-modern-responsive .entry-content p,
	.be4x4-modern-responsive .entry-content li {
		font-size: 16px;
		line-height: 1.6;
	}
	.be4x4-modern-responsive .entry-content img,
	.be4x4-modern-responsive .entry-content iframe,
	.be4x4-modern-responsive .entry-content video,
	.be4x4-modern-responsive .entry-content table {
		max-width: 100%;
	}
	.be4x4-modern-responsive .entry-content img {
		height: auto;
	}
	.be4x4-modern-responsive .entry-content iframe,
	.be4x4-modern-responsive .entry-content video {
		width: 100%;
	}
	.be4x4-modern-responsive .entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.be4x4-modern-responsive .entry-content a.button,
	.be4x4-modern-responsive .entry-content .button,
	.be4x4-modern-responsive .entry-content input[type=submit] {
		min-height: 44px;
	}
	.be4x4-modern-responsive #secondary .widget {
		margin-bottom: 28px;
	}
}
