.mbaw-widget,
.mbaw-widget * {
	box-sizing: border-box;
	font-family: "Exo", Arial, Helvetica, sans-serif;
}

.mbaw-widget {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
	padding: 88px 0 112px;
	color: var(--mbaw-ink);
}

.mbaw-widget a {
	color: inherit;
	text-decoration: none;
}

.mbaw-featured-wrap {
	margin-bottom: 96px;
}

.mbaw-featured-label,
.mbaw-eyebrow {
	display: inline-flex;
	margin-bottom: 12px;
	color: var(--mbaw-accent);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mbaw-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.82fr);
	min-height: 430px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dbe1ef;
	border-radius: 24px;
	box-shadow: 0 28px 65px rgba(24, 38, 83, 0.12);
}

.mbaw-featured-visual,
.mbaw-card-visual {
	position: relative;
	display: block;
	overflow: hidden;
	background: linear-gradient(145deg, #101a3b, var(--mbaw-accent));
}

.mbaw-featured-visual {
	min-height: 430px;
}

.mbaw-featured-visual img,
.mbaw-card-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.mbaw-featured:hover .mbaw-featured-visual img,
.mbaw-card:hover .mbaw-card-visual img {
	transform: scale(1.035);
}

.mbaw-image-placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(145deg, #101a3b, var(--mbaw-accent));
	background-size: 34px 34px, 34px 34px, auto;
}

.mbaw-image-placeholder span {
	position: relative;
	z-index: 2;
	display: grid;
	width: 82px;
	height: 82px;
	place-items: center;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 22px 22px 22px 7px;
	font-size: 31px;
	font-weight: 900;
	backdrop-filter: blur(8px);
}

.mbaw-image-placeholder i,
.mbaw-image-placeholder b {
	position: absolute;
	width: 170px;
	height: 170px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 42px;
	transform: rotate(22deg);
}

.mbaw-image-placeholder i {
	top: -50px;
	right: -35px;
}

.mbaw-image-placeholder b {
	bottom: -65px;
	left: -30px;
}

.mbaw-featured-copy {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 48px;
	flex-direction: column;
}

.mbaw-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 13px;
	margin-bottom: 17px;
	color: #7a8498;
	font-size: 10px;
	font-weight: 700;
}

.mbaw-category {
	padding: 7px 9px;
	color: var(--mbaw-accent);
	background: #eef1ff;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mbaw-featured h2 {
	margin: 0 0 17px;
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.mbaw-featured-copy > p {
	margin: 0 0 26px;
	color: var(--mbaw-muted);
	font-size: 14px;
	line-height: 1.75;
}

.mbaw-read-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	color: var(--mbaw-accent) !important;
	font-size: 12px;
	font-weight: 900;
}

.mbaw-read-link span {
	transition: transform 0.2s ease;
}

.mbaw-read-link:hover span {
	transform: translateX(4px);
}

.mbaw-heading-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 30px;
}

.mbaw-heading-row h2 {
	margin: 0;
	font-size: clamp(32px, 3.8vw, 48px);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1.08;
}

.mbaw-search {
	display: grid;
	grid-template-columns: minmax(190px, 1fr) auto;
	gap: 8px;
	width: min(390px, 100%);
}

.mbaw-search input {
	width: 100%;
	height: 45px;
	padding: 0 13px;
	color: var(--mbaw-ink);
	background: #fff;
	border: 1px solid #cfd6e4;
	border-radius: 10px;
	outline: none;
	font-size: 11px;
}

.mbaw-search input:focus {
	border-color: var(--mbaw-accent);
	box-shadow: 0 0 0 4px rgba(82, 103, 232, 0.1);
}

.mbaw-search button {
	padding: 0 15px;
	color: #fff;
	background: var(--mbaw-accent);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	font-size: 11px;
	font-weight: 900;
}

.mbaw-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 42px;
}

.mbaw-filters a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 13px;
	color: #556078;
	background: #fff;
	border: 1px solid #d8deea;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	transition: color 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.mbaw-filters a:hover,
.mbaw-filters a.is-active {
	color: #fff;
	background: var(--mbaw-accent);
	border-color: var(--mbaw-accent);
}

.mbaw-grid {
	display: grid;
	grid-template-columns: repeat(var(--mbaw-columns), minmax(0, 1fr));
	gap: 26px;
}

.mbaw-card {
	display: flex;
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dfe4ee;
	border-radius: 18px;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.mbaw-card:hover {
	border-color: #cbd3e8;
	box-shadow: 0 20px 42px rgba(24, 38, 83, 0.1);
	transform: translateY(-5px);
}

.mbaw-card-visual {
	min-height: 215px;
}

.mbaw-card-body {
	display: flex;
	height: 100%;
	padding: 25px 24px 27px;
	flex-direction: column;
}

.mbaw-card h3 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.27;
}

.mbaw-card-body > p {
	margin: 0 0 23px;
	color: var(--mbaw-muted);
	font-size: 12px;
	line-height: 1.7;
}

.mbaw-pagination {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 48px;
}

.mbaw-pagination a {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	color: #556078;
	background: #fff;
	border: 1px solid #d8deea;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 900;
}

.mbaw-pagination a:hover,
.mbaw-pagination a.is-active {
	color: #fff;
	background: var(--mbaw-accent);
	border-color: var(--mbaw-accent);
}

.mbaw-empty {
	padding: 55px 25px;
	text-align: center;
	background: #f6f7fb;
	border: 1px dashed #cbd3e0;
	border-radius: 18px;
}

.mbaw-empty strong {
	display: block;
	margin-bottom: 7px;
	font-size: 18px;
}

.mbaw-empty p {
	margin: 0;
	color: var(--mbaw-muted);
	font-size: 12px;
}

@media (max-width: 1040px) {
	.mbaw-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.mbaw-featured {
		grid-template-columns: 1fr;
	}

	.mbaw-featured-visual {
		min-height: 360px;
	}

	.mbaw-featured-copy {
		padding: 38px;
	}

	.mbaw-heading-row {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 600px) {
	.mbaw-widget {
		width: calc(100% - 28px);
		padding: 70px 0 80px;
	}

	.mbaw-featured-wrap {
		margin-bottom: 72px;
	}

	.mbaw-featured-visual {
		min-height: 270px;
	}

	.mbaw-featured-copy {
		padding: 29px 22px 33px;
	}

	.mbaw-search {
		grid-template-columns: 1fr;
	}

	.mbaw-search button {
		min-height: 43px;
	}

	.mbaw-grid {
		grid-template-columns: 1fr;
	}

	.mbaw-card-visual {
		min-height: 190px;
	}
}

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