.manarat-core-fallback {
	padding: 18px 20px;
	border: 1px solid #d8e7f5;
	border-radius: 14px;
	background: #f4faff;
	color: #0b2a55;
	font-weight: 700;
}

.manarat-core-listing {
	--manarat-core-primary: #1591dc;
	--manarat-core-navy: #0b2a55;
	--manarat-core-light: #f4faff;
	--manarat-core-border: #d8e7f5;
	--manarat-core-muted: #5b6b7f;
	--manarat-core-white: #ffffff;
	width: 100%;
	color: var(--manarat-core-navy);
}

.manarat-core-listing__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.manarat-core-listing--funds .manarat-core-listing__grid,
.manarat-core-listing--services .manarat-core-listing__grid,
.manarat-core-listing--courses .manarat-core-listing__grid {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.manarat-core-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--manarat-core-border);
	border-radius: 20px;
	background: var(--manarat-core-white);
	box-shadow: 0 18px 44px rgba(11, 42, 85, 0.08);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.manarat-core-card:hover {
	transform: translateY(-3px);
	border-color: rgba(21, 145, 220, 0.35);
	box-shadow: 0 22px 52px rgba(11, 42, 85, 0.11);
}

.manarat-core-card__image,
.manarat-core-card__placeholder {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	background:
		linear-gradient(135deg, rgba(21, 145, 220, 0.18), rgba(255, 255, 255, 0.84)),
		var(--manarat-core-light);
}

.manarat-core-card__placeholder {
	display: grid;
	place-items: center;
	color: var(--manarat-core-primary);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.manarat-core-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 24px;
}

.manarat-core-card h3 {
	margin: 0;
	color: var(--manarat-core-navy);
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	line-height: 1.18;
}

.manarat-core-card p {
	margin: 0;
	color: var(--manarat-core-muted);
	line-height: 1.65;
}

.manarat-core-card__badge {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(21, 145, 220, 0.1);
	color: var(--manarat-core-primary);
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.manarat-core-card__icon {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: var(--manarat-core-light);
	color: var(--manarat-core-primary);
	font-size: 1.35rem;
	font-weight: 900;
}

.manarat-core-card__meta {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	color: var(--manarat-core-muted);
	list-style: none;
}

.manarat-core-card__meta li {
	line-height: 1.45;
}

.manarat-core-progress {
	display: grid;
	gap: 8px;
	width: 100%;
	margin-top: auto;
}

.manarat-core-progress span {
	color: var(--manarat-core-navy);
	font-weight: 800;
}

.manarat-core-progress i {
	display: block;
	width: 100%;
	height: 9px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(21, 145, 220, 0.12);
}

.manarat-core-progress i::before {
	content: "";
	display: block;
	width: var(--mc-progress, 0%);
	height: 100%;
	border-radius: inherit;
	background: var(--manarat-core-primary);
}

.manarat-core-button,
.manarat-core-text-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	font-weight: 850;
	text-decoration: none;
}

.manarat-core-button {
	margin-top: auto;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--manarat-core-primary);
	color: #fff;
	box-shadow: 0 14px 28px rgba(21, 145, 220, 0.22);
}

.manarat-core-button:hover,
.manarat-core-button:focus {
	color: #fff;
}

.manarat-core-text-link {
	margin-top: auto;
	color: var(--manarat-core-primary);
}

.manarat-core-disabled-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	margin-top: auto;
	padding: 12px 18px;
	border: 1px solid var(--manarat-core-border);
	border-radius: 999px;
	background: #f6f9fc;
	color: var(--manarat-core-muted);
	font-weight: 850;
	text-align: center;
	cursor: not-allowed;
}

.manarat-core-disabled-action--text {
	justify-content: flex-start;
	padding-inline: 0;
	border: 0;
	background: transparent;
}

.manarat-core-button span,
.manarat-core-text-link span {
	transition: transform 180ms ease;
}

.manarat-core-button:hover span,
.manarat-core-button:focus span,
.manarat-core-text-link:hover span,
.manarat-core-text-link:focus span {
	transform: translateX(4px);
}

.manarat-core-contact {
	--manarat-core-primary: #1591dc;
	--manarat-core-navy: #0b2a55;
	--manarat-core-light: #f4faff;
	--manarat-core-border: #d8e7f5;
	--manarat-core-muted: #5b6b7f;
	width: 100%;
}

.manarat-core-contact__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.manarat-core-contact__card,
.manarat-core-contact__notice,
.manarat-core-notice {
	border: 1px solid var(--manarat-core-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(11, 42, 85, 0.08);
}

.manarat-core-contact__card {
	display: grid;
	gap: 12px;
	padding: 24px;
}

.manarat-core-contact h3 {
	margin: 0;
	color: var(--manarat-core-navy);
	font-size: 1.25rem;
}

.manarat-core-contact p {
	margin: 0;
	color: var(--manarat-core-muted);
	line-height: 1.65;
}

.manarat-core-contact__notice {
	margin-top: 20px;
	padding: 18px 22px;
	background: linear-gradient(135deg, rgba(21, 145, 220, 0.08), #fff);
	color: var(--manarat-core-navy);
}

.manarat-core-notice {
	--manarat-core-primary: #1591dc;
	--manarat-core-navy: #0b2a55;
	--manarat-core-light: #f4faff;
	--manarat-core-border: #d8e7f5;
	--manarat-core-muted: #5b6b7f;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 22px;
	background: linear-gradient(135deg, rgba(21, 145, 220, 0.1), #fff);
	color: var(--manarat-core-navy);
}

.manarat-core-notice--urgent {
	background: linear-gradient(135deg, rgba(21, 145, 220, 0.16), #fff);
}

.manarat-core-notice strong {
	display: block;
	margin-bottom: 4px;
	color: var(--manarat-core-navy);
	font-size: 1.05rem;
}

.manarat-core-notice p {
	margin: 0;
	color: var(--manarat-core-muted);
	line-height: 1.55;
}

.manarat-core-notice__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 11px 16px;
	border-radius: 999px;
	background: var(--manarat-core-primary);
	color: #fff;
	font-weight: 850;
	text-decoration: none;
	white-space: nowrap;
}

.manarat-core-notice__button:hover,
.manarat-core-notice__button:focus {
	color: #fff;
}

.manarat-prayer-times {
	--manarat-core-primary: #1591dc;
	--manarat-core-navy: #0b2a55;
	--manarat-core-light: #f4faff;
	--manarat-core-border: #d8e7f5;
	--manarat-core-muted: #5b6b7f;
	--manarat-core-white: #ffffff;
	display: grid;
	gap: 22px;
	width: 100%;
	color: var(--manarat-core-navy);
}

.manarat-prayer-times__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.manarat-prayer-times__kicker {
	margin: 0 0 8px;
	color: var(--manarat-core-primary);
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.manarat-prayer-times h2,
.manarat-prayer-times h3 {
	margin: 0;
	color: var(--manarat-core-navy);
	line-height: 1.1;
}

.manarat-prayer-times h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.manarat-prayer-times h3 {
	font-size: 1.25rem;
}

.manarat-prayer-times__status {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(21, 145, 220, 0.1);
	color: var(--manarat-core-primary);
	font-weight: 800;
}

.manarat-prayer-times__table,
.manarat-prayer-times__jumuah,
.manarat-prayer-times__notice {
	border: 1px solid var(--manarat-core-border);
	border-radius: 18px;
	background: var(--manarat-core-white);
	box-shadow: 0 18px 45px rgba(11, 42, 85, 0.08);
	overflow: hidden;
}

.manarat-prayer-times__row {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 14px;
	align-items: center;
	padding: 16px 20px;
	border-top: 1px solid rgba(216, 231, 245, 0.75);
}

.manarat-prayer-times__row:first-child {
	border-top: 0;
}

.manarat-prayer-times__row--head {
	background: var(--manarat-core-light);
	color: var(--manarat-core-muted);
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.manarat-prayer-times__row strong {
	color: var(--manarat-core-navy);
}

.manarat-prayer-times__jumuah {
	padding: 20px;
}

.manarat-prayer-times__jumuah-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.manarat-prayer-times__jumuah-grid div {
	display: grid;
	gap: 6px;
	padding: 14px;
	border: 1px solid var(--manarat-core-border);
	border-radius: 14px;
	background: var(--manarat-core-light);
}

.manarat-prayer-times__jumuah-grid span,
.manarat-prayer-times__updated {
	color: var(--manarat-core-muted);
	font-size: 0.9rem;
}

.manarat-prayer-times__jumuah-grid strong {
	color: var(--manarat-core-primary);
}

.manarat-prayer-times__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: fit-content;
	min-height: 48px;
	padding: 14px 22px;
	border-radius: 999px;
	background: var(--manarat-core-primary);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 14px 28px rgba(21, 145, 220, 0.24);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.manarat-prayer-times__button:hover,
.manarat-prayer-times__button:focus {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(21, 145, 220, 0.3);
}

.manarat-prayer-times__notice {
	padding: 18px 20px;
	background: linear-gradient(135deg, rgba(21, 145, 220, 0.08), #fff);
}

.manarat-prayer-times__notice p {
	margin: 0;
	color: var(--manarat-core-muted);
	line-height: 1.7;
}

.manarat-prayer-times__updated {
	margin: 0;
}

@media (max-width: 720px) {
	.manarat-core-listing__grid,
	.manarat-core-listing--funds .manarat-core-listing__grid,
	.manarat-core-listing--services .manarat-core-listing__grid,
	.manarat-core-listing--courses .manarat-core-listing__grid,
	.manarat-core-contact__grid {
		grid-template-columns: 1fr;
	}

	.manarat-core-card__body {
		padding: 20px;
	}

	.manarat-core-button {
		width: 100%;
	}

	.manarat-core-notice {
		display: grid;
		width: 100%;
		max-width: 100%;
		padding: 16px;
	}

	.manarat-core-notice > * {
		min-width: 0;
		max-width: 100%;
	}

	.manarat-core-notice strong,
	.manarat-core-notice p {
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.manarat-core-notice__button {
		width: 100%;
		white-space: normal;
	}

	.manarat-prayer-times__header {
		display: grid;
	}

	.manarat-prayer-times__row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.manarat-prayer-times__row--head {
		display: none;
	}

	.manarat-prayer-times__row span::before {
		display: inline-block;
		min-width: 76px;
		margin-right: 8px;
		color: var(--manarat-core-muted);
		font-size: 0.78rem;
		font-weight: 850;
		text-transform: uppercase;
		letter-spacing: 0.08em;
	}

	.manarat-prayer-times__row span:nth-child(2)::before {
		content: "Start";
	}

	.manarat-prayer-times__row span:nth-child(3)::before {
		content: "Jama‘ah";
	}

	.manarat-prayer-times__jumuah-grid {
		grid-template-columns: 1fr;
	}

	.manarat-prayer-times__button {
		width: 100%;
	}
}
