/*
 * Homepage — Phase 9C §J/K/L/N/Q/R implemented for real content.
 */

/* ===== RTL foundation ===== */
main#main, .tadreep-homepage, .tadreep-hero-slider { direction: rtl; }
.tadreep-hero-slide .tadreep-hero-inner,
.tadreep-hero-slide .tadreep-hero-copy,
.tadreep-hero-slide h1,
.tadreep-hero-slide p,
.tadreep-hero-slide .tadreep-hero-kicker { direction: rtl; text-align: right; }
.tadreep-hero-slide .tadreep-hero-cta { direction: rtl; }

/* ===== Hero (§Q) ===== */
.tadreep-hero {
	background: var(--color-navy-800);
	color: var(--color-white);
	padding-block: var(--space-10) var(--space-16);
	position: relative;
	overflow: hidden;
}
.tadreep-hero-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6);
	align-items: center;
	position: relative;
	z-index: 1;
}
.tadreep-hero-copy { text-align: center; }
.tadreep-hero h1 {
	color: var(--color-white);
	font-size: var(--text-2xl);
	margin-block-end: var(--space-3);
}
.tadreep-hero h1 span { color: var(--color-turquoise-500); }
.tadreep-hero p {
	font-size: var(--text-base);
	color: rgba(255,255,255,0.8);
	margin-block-end: var(--space-5);
}
.tadreep-hero-cta { display: flex; justify-content: center; gap: var(--space-3); flex-wrap: wrap; }
.tadreep-hero-graphic { display: none; }

@media (min-width: 960px) {
	.tadreep-hero-inner { grid-template-columns: 1.2fr 1fr; text-align: start; }
	.tadreep-hero-copy { text-align: start; }
	.tadreep-hero h1 { font-size: var(--text-3xl); }
	.tadreep-hero-cta { justify-content: flex-start; }
	.tadreep-hero-graphic { display: flex; justify-content: center; opacity: 0.9; }
	.tadreep-hero-graphic img { width: 260px; }
}

/* ===== Unified Search (§R) - presentation only, Phase 9D ===== */
.tadreep-search-wrap {
	margin-block-start: calc(var(--space-10) * -1);
	position: relative;
	z-index: 2;
	padding-inline: var(--space-4);
}
.tadreep-search-panel {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-modal);
	padding: var(--space-4);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	max-width: 1100px;
	margin-inline: auto;
}
.tadreep-search-field { display: flex; flex-direction: column; gap: var(--space-1); }
.tadreep-search-field label { font-size: var(--text-xs); color: var(--color-text-secondary); font-weight: 600; }
.tadreep-search-field input,
.tadreep-search-field select {
	height: 44px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding-inline: var(--space-3);
	font-family: var(--font-family);
	font-size: var(--text-sm);
	background: var(--color-white);
	color: var(--color-text-primary);
}
.tadreep-search-field input:focus,
.tadreep-search-field select:focus {
	border-color: var(--color-turquoise-500);
	background: var(--color-turquoise-50);
}
.tadreep-search-filters-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	background: none;
	border: 1px dashed var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-2) var(--space-3);
	font-size: var(--text-sm);
	color: var(--color-navy-800);
	cursor: pointer;
}
.tadreep-search-filters { display: none; flex-direction: column; gap: var(--space-3); }
.tadreep-search-filters.is-open { display: flex; }
.tadreep-search-note {
	font-size: var(--text-xs);
	color: var(--color-text-secondary);
	text-align: center;
}

@media (min-width: 960px) {
	.tadreep-search-panel { flex-direction: row; align-items: end; padding: var(--space-3); }
	.tadreep-search-filters-toggle { display: none; }
	.tadreep-search-filters { display: flex !important; flex-direction: row; flex: 1; gap: var(--space-2); }
	.tadreep-search-field { flex: 1; min-width: 0; }
	.tadreep-search-field.tadreep-search-keyword { flex: 1.4; }
	.tadreep-search-submit { flex-shrink: 0; }
}

/* ===== Course cards (§J) ===== */
.tadreep-course-grid, .tadreep-provider-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
}
@media (min-width: 640px) {
	.tadreep-course-grid, .tadreep-provider-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	.tadreep-course-grid, .tadreep-provider-grid { grid-template-columns: repeat(3, 1fr); }
}

.tadreep-course-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; min-width: 0; }
.tadreep-course-image {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--color-navy-800), var(--color-turquoise-600));
	position: relative;
	display: block;
	overflow: hidden;
}
.tadreep-course-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}
.tadreep-course-card:hover .tadreep-course-image img { transform: scale(1.025); }
.tadreep-course-image-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,.9);
	font-size: var(--text-lg);
	font-weight: 700;
}
.tadreep-course-badges {
	position: absolute;
	inset-block-start: var(--space-3);
	inset-inline: var(--space-3);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	flex-wrap: wrap;
}
.tadreep-course-badges .tadreep-badge {
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(5px);
}
.tadreep-course-badges .tadreep-badge-online { color: var(--color-turquoise-600); }
.tadreep-course-badges .tadreep-badge-in-person { color: var(--color-success); }
.tadreep-course-badges .tadreep-badge-featured { color: var(--color-turquoise-600); }
.tadreep-course-badges .tadreep-badge-sponsored { color: var(--color-warning); }
.tadreep-course-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.tadreep-course-title {
	font-size: var(--text-lg);
	font-weight: 700;
	margin: 0;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tadreep-course-provider {
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--color-navy-700);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tadreep-course-meta { display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); color: var(--color-text-secondary); margin: 0; }
.tadreep-course-meta svg { flex: 0 0 auto; }
.tadreep-course-price { font-size: var(--text-lg); font-weight: 700; color: var(--color-turquoise-600); margin: 0; }
.tadreep-course-capacity { font-size: var(--text-xs); color: var(--color-text-secondary); margin: 0; }
.tadreep-course-body .tadreep-btn { margin-block-start: auto; }

/* ===== Provider cards (§K) ===== */
.tadreep-provider-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2); }
.tadreep-provider-avatar {
	width: 64px; height: 64px;
	border-radius: var(--radius-full);
	background: var(--color-turquoise-50);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-turquoise-600);
	overflow: hidden;
}
.tadreep-provider-card.is-center .tadreep-provider-avatar { border-radius: var(--radius-md); }
.tadreep-provider-name { font-weight: 700; font-size: var(--text-base); margin: 0; }
.tadreep-provider-city { font-size: var(--text-sm); color: var(--color-text-secondary); }

/* ===== Category cards (§L) ===== */
.tadreep-category-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-3);
}
@media (min-width: 640px) { .tadreep-category-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .tadreep-category-grid { grid-template-columns: repeat(6, 1fr); } }
.tadreep-category-card {
	display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
	text-align: center; padding: var(--space-4) var(--space-2);
}
.tadreep-category-icon {
	width: 44px; height: 44px; border-radius: var(--radius-md);
	background: var(--color-turquoise-50); color: var(--color-turquoise-600);
	display: flex; align-items: center; justify-content: center;
}
.tadreep-category-name { font-size: var(--text-sm); font-weight: 600; }

/* ===== Ad slot (§M) - collapses if empty ===== */
.tadreep-ad-slot { display: block; }
.tadreep-ad-label {
	position: absolute; inset-block-start: var(--space-2); inset-inline-start: var(--space-2);
	background: rgba(15,23,42,0.65); color: var(--color-white);
	font-size: var(--text-xs); padding: 2px var(--space-2); border-radius: var(--radius-sm);
}

/* ===== Why Tadreep + Final CTA ===== */
.tadreep-why-grid {
	display: grid; grid-template-columns: 1fr; gap: var(--space-4);
}
@media (min-width: 640px) { .tadreep-why-grid { grid-template-columns: repeat(3, 1fr); } }
.tadreep-why-item { text-align: center; padding: var(--space-4); }
.tadreep-why-icon {
	width: 48px; height: 48px; border-radius: var(--radius-full);
	background: var(--color-turquoise-50); color: var(--color-turquoise-600);
	display: flex; align-items: center; justify-content: center; margin-inline: auto var(--space-3);
}

.tadreep-final-cta {
	background: var(--color-navy-800);
	color: var(--color-white);
	text-align: center;
	border-radius: var(--radius-lg);
	padding: var(--space-10) var(--space-4);
}
.tadreep-final-cta h2 { color: var(--color-white); }
.tadreep-final-cta p { color: rgba(255,255,255,0.8); margin-block-end: var(--space-5); }


/* Featured course promotion strip */
.tadreep-featured-strip{padding-block:var(--space-5);}
.tadreep-featured-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block-end:14px;}
.tadreep-featured-head .tadreep-section-title{margin:0;}
.tadreep-featured-label{font-size:.85rem;font-weight:700;color:var(--color-turquoise-700);}
.tadreep-featured-track-wrap{position:relative;}
.tadreep-featured-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,300px);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 10px;overscroll-behavior-inline:contain;}
.tadreep-featured-track::-webkit-scrollbar{display:none;}
.tadreep-featured-track .tadreep-course-card{scroll-snap-align:start;min-width:0;}
.tadreep-featured-arrow{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.96);color:var(--color-navy-800);font-size:28px;line-height:1;cursor:pointer;box-shadow:var(--shadow-sm);}
.tadreep-featured-arrow.is-prev{inset-inline-start:-10px}.tadreep-featured-arrow.is-next{inset-inline-end:-10px}
@media(max-width:782px){.tadreep-featured-track{grid-auto-columns:minmax(240px,78vw);gap:12px;}.tadreep-featured-arrow{width:34px;height:34px;font-size:24px}.tadreep-featured-arrow.is-prev{inset-inline-start:4px}.tadreep-featured-arrow.is-next{inset-inline-end:4px}}
@media(prefers-reduced-motion:reduce){.tadreep-featured-track{scroll-behavior:auto}}

/* ===== Provider identity on cards ===== */
.tadreep-course-provider-link,
.tadreep-provider-card { text-decoration: none; }
.tadreep-course-provider-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	max-width: 100%;
	color: var(--color-navy-700);
	transition: color .18s ease;
}
.tadreep-course-provider-link:hover { color: var(--color-turquoise-700); }
.tadreep-course-provider-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	flex: 0 0 34px;
	overflow: hidden;
	background: var(--color-turquoise-50);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
}
.tadreep-course-provider-avatar img,
.tadreep-course-provider-avatar svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tadreep-course-provider-avatar .tadreep-provider-avatar-fallback {
	width: 20px;
	height: 20px;
	color: var(--color-turquoise-600);
}
.tadreep-course-provider-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tadreep-provider-card {
	color: inherit;
	transition: transform .18s ease, box-shadow .18s ease;
}
.tadreep-provider-card:hover { transform: translateY(-2px); }
.tadreep-provider-avatar {
	width: 76px;
	height: 76px;
	border-radius: 50% !important;
	background: var(--color-turquoise-50);
	border: 2px solid var(--color-white);
	box-shadow: var(--shadow-sm);
}
.tadreep-provider-avatar img,
.tadreep-provider-avatar .tadreep-provider-avatar-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tadreep-provider-avatar .tadreep-provider-avatar-fallback {
	padding: 22px;
	color: var(--color-turquoise-600);
}
@media (max-width: 639px) {
	.tadreep-course-provider-avatar { width: 32px; height: 32px; flex-basis: 32px; }
	.tadreep-provider-avatar { width: 68px; height: 68px; }
}

/* ===== Provider directory — MVP1 DESIGN RC4 ===== */
.tadreep-directory { padding-block: 2.5rem 4rem; }
.tadreep-directory-heading { text-align: center; max-width: 760px; margin: 0 auto 2rem; }
.tadreep-directory-title { margin: 0 0 .45rem; font-size: clamp(1.65rem, 3vw, 2.35rem); color: var(--color-navy-800); }
.tadreep-directory-subtitle { margin: 0; color: var(--color-text-secondary); font-size: 1rem; }
.tadreep-provider-search { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem; margin-bottom: 1.75rem; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); align-items: end; }
.tadreep-provider-search-field label { display:block; margin-bottom:.4rem; font-size:.82rem; font-weight:700; color:var(--color-navy-800); }
.tadreep-provider-search-field input,.tadreep-provider-search-field select { width:100%; min-height:48px; border:1px solid var(--color-border); border-radius:var(--radius-md); padding:0 1rem; background:var(--color-white); color:var(--color-text-primary); font:inherit; box-sizing:border-box; }
.tadreep-provider-search-field input:focus,.tadreep-provider-search-field select:focus { border-color:var(--color-turquoise-500); outline:2px solid rgba(0,190,190,.12); }
.tadreep-provider-search-submit,.tadreep-provider-search-reset { min-height:48px; border-radius:var(--radius-md); padding:.7rem 1.2rem; font:inherit; font-weight:700; text-align:center; text-decoration:none; display:flex; align-items:center; justify-content:center; cursor:pointer; box-sizing:border-box; }
.tadreep-provider-search-submit { border:1px solid var(--color-navy-800); background:var(--color-navy-800); color:var(--color-white); }
.tadreep-provider-search-reset { border:1px solid var(--color-turquoise-500); color:var(--color-navy-800); background:var(--color-white); }
.tadreep-directory-results-head { display:flex; justify-content:flex-start; margin-bottom:1rem; color:var(--color-text-secondary); font-size:.9rem; }
.tadreep-directory-grid { display:grid; grid-template-columns:1fr; gap:1.25rem; }
.tadreep-directory-card { min-width:0; background:var(--color-white); border:1px solid var(--color-border); border-radius:var(--radius-lg); padding:1.35rem; box-shadow:var(--shadow-sm); transition:transform .18s ease,box-shadow .18s ease; display:flex; flex-direction:column; gap:1rem; }
.tadreep-directory-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }
.tadreep-directory-card-top { display:flex; align-items:center; gap:1rem; }
.tadreep-directory-avatar { width:84px; height:84px; flex:0 0 84px; border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center; background:var(--color-turquoise-50); border:2px solid var(--color-white); box-shadow:0 0 0 1px var(--color-border),var(--shadow-sm); text-decoration:none; }
.tadreep-directory-avatar img { width:100%; height:100%; object-fit:cover; }
.tadreep-directory-avatar-fallback { font-size:2rem; font-weight:700; color:var(--color-turquoise-600); }
.tadreep-directory-card-identity { min-width:0; }
.tadreep-directory-card-identity h3 { margin:0 0 .4rem; font-size:1.12rem; line-height:1.45; }
.tadreep-directory-card-identity h3 a { color:var(--color-navy-800); text-decoration:none; }
.tadreep-directory-card-identity h3 a:hover { color:var(--color-turquoise-700); }
.tadreep-directory-city { margin:0; color:var(--color-turquoise-700); font-size:.9rem; }
.tadreep-directory-desc { margin:0; color:var(--color-text-secondary); line-height:1.8; min-height:3.2em; }
.tadreep-directory-card-actions { display:grid; grid-template-columns:1fr 1fr; gap:.7rem; margin-top:auto; padding-top:1rem; border-top:1px solid var(--color-border); }
.tadreep-directory-btn { min-height:46px; display:flex; align-items:center; justify-content:center; border-radius:var(--radius-md); padding:.65rem .8rem; text-decoration:none; font-weight:700; box-sizing:border-box; }
.tadreep-directory-btn-primary { background:var(--color-navy-800); color:var(--color-white); }
.tadreep-directory-btn-secondary { background:var(--color-white); color:var(--color-turquoise-700); border:1px solid var(--color-turquoise-500); }
.tadreep-directory-empty { padding:3rem 1rem; text-align:center; background:var(--color-white); border:1px solid var(--color-border); border-radius:var(--radius-lg); color:var(--color-text-secondary); }
@media (min-width:700px) {
 .tadreep-provider-search { grid-template-columns:minmax(0,1.5fr) minmax(180px,.75fr) auto auto; }
 .tadreep-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:1100px) { .tadreep-directory-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:560px) { .tadreep-directory-card-actions { grid-template-columns:1fr; } .tadreep-directory-avatar{width:72px;height:72px;flex-basis:72px;} }


/* MVP1-RC9 — homepage visual closure. */
.tadreep-hero {
  padding-block: clamp(52px, 8vw, 92px) clamp(68px, 9vw, 112px);
  background: radial-gradient(circle at 15% 20%, rgba(10,191,195,.16), transparent 32%), linear-gradient(135deg, #061d4f 0%, #092b69 58%, #041a45 100%);
}
.tadreep-hero-inner { grid-template-columns: minmax(0,1.1fr) minmax(260px,.75fr); gap: clamp(28px,5vw,70px); }
.tadreep-hero-copy { text-align: start; }
.tadreep-hero h1 { font-size: clamp(2.2rem,5vw,4.2rem); line-height: 1.15; letter-spacing: -.03em; margin-block-end: 18px; }
.tadreep-hero p { max-inline-size: 650px; font-size: clamp(1rem,1.5vw,1.18rem); line-height: 1.9; }
.tadreep-hero-cta { justify-content: flex-start; }
.tadreep-btn-hero-secondary { border: 1px solid rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.08); }
.tadreep-btn-hero-secondary:hover { background: rgba(255,255,255,.14); color: #fff; }
.tadreep-hero-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-block-start:28px; max-inline-size:620px; }
.tadreep-hero-stats div { padding:13px 14px; border:1px solid rgba(255,255,255,.12); border-radius:14px; background:rgba(255,255,255,.06); backdrop-filter:blur(6px); }
.tadreep-hero-stats strong { display:block; color:#fff; font-size:1.35rem; }
.tadreep-hero-stats span { display:block; margin-block-start:3px; color:rgba(255,255,255,.72); font-size:.76rem; }
.tadreep-hero-graphic { display:flex; min-height:280px; align-items:center; justify-content:center; position:relative; }
.tadreep-hero-graphic::before { content:""; position:absolute; inline-size:280px; block-size:280px; border-radius:50%; background:rgba(0,196,200,.10); box-shadow:0 0 0 24px rgba(255,255,255,.025), 0 0 0 48px rgba(255,255,255,.02); }
.tadreep-hero-graphic img { position:relative; width:min(250px,70%); filter:drop-shadow(0 24px 35px rgba(0,0,0,.25)); }
.tadreep-search-wrap { margin-block-start:-46px; }
.tadreep-search-panel { padding:18px; border:1px solid rgba(10,36,79,.08); box-shadow:0 18px 45px rgba(9,35,72,.14); }
.tadreep-section { padding-block: clamp(42px,6vw,72px); }
.tadreep-home-section-head { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-block-end:22px; }
.tadreep-home-section-head .tadreep-section-title { margin:0; }
.tadreep-eyebrow { display:block; margin-block-end:6px; color:var(--color-turquoise-700); font-size:.82rem; font-weight:800; }
.tadreep-section-link { color:var(--color-navy-800); font-weight:700; text-decoration:none; white-space:nowrap; }
.tadreep-section-link:hover { color:var(--color-turquoise-700); }
.tadreep-discover-section { background:#fff; }
.tadreep-discover-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.tadreep-discover-card { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px; padding:22px; border:1px solid var(--color-border); border-radius:18px; color:inherit; text-decoration:none; background:linear-gradient(180deg,#fff,#f8fbfd); box-shadow:var(--shadow-sm); transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.tadreep-discover-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:rgba(0,190,190,.35); }
.tadreep-discover-card h3 { margin:0 0 5px; font-size:1.05rem; color:var(--color-navy-800); }
.tadreep-discover-card p { margin:0; color:var(--color-text-secondary); font-size:.86rem; line-height:1.75; }
.tadreep-discover-icon { display:flex; align-items:center; justify-content:center; inline-size:50px; block-size:50px; flex:0 0 50px; border-radius:15px; background:var(--color-turquoise-50); color:var(--color-turquoise-700); }\n.tadreep-discover-icon svg { width:29px; height:29px; display:block; }
.tadreep-discover-arrow { color:var(--color-turquoise-700); font-size:1.1rem; }
.tadreep-featured-strip { padding-block:48px; background:#f6f9fc; }
.tadreep-provider-grid { gap:18px; }
.tadreep-provider-card { padding:24px; min-height:170px; justify-content:center; border:1px solid var(--color-border); }
.tadreep-provider-card.is-center .tadreep-provider-avatar { border-radius:50%; }
.tadreep-final-cta { border-radius:24px; padding:clamp(34px,5vw,60px); box-shadow:0 18px 45px rgba(5,31,69,.18); }
@media (max-width:959px) {
  .tadreep-hero-inner { grid-template-columns:1fr; }
  .tadreep-hero-copy { text-align:center; }
  .tadreep-hero-cta { justify-content:center; }
  .tadreep-hero-stats { margin-inline:auto; }
  .tadreep-hero-graphic { min-height:190px; }
  .tadreep-hero-graphic::before { inline-size:190px; block-size:190px; }
  .tadreep-discover-grid { grid-template-columns:1fr; }
}
@media (max-width:639px) {
  .tadreep-hero { padding-block:42px 82px; }
  .tadreep-hero h1 { font-size:2.15rem; }
  .tadreep-hero-stats { gap:7px; }
  .tadreep-hero-stats div { padding:10px 8px; }
  .tadreep-hero-stats strong { font-size:1.1rem; }
  .tadreep-home-section-head { align-items:flex-start; flex-direction:column; }
  .tadreep-search-wrap { margin-block-start:-34px; }
  .tadreep-search-panel { border-radius:18px; }
  .tadreep-discover-card { grid-template-columns:auto 1fr; }
  .tadreep-discover-arrow { display:none; }
}

/* MVP1-RC10 — homepage promotional hero slider. No course counts or dynamic course data in the banner. */
.tadreep-hero-slider { padding-block:0; min-height:clamp(420px,44vw,570px); display:flex; flex-direction:column; justify-content:center; }
.tadreep-hero-slides { position:relative; min-height:clamp(420px,44vw,570px); }
.tadreep-hero-slide { position:absolute; inset:0; display:flex; align-items:center; opacity:0; visibility:hidden; transform:translateX(18px); transition:opacity .55s ease, transform .55s ease, visibility .55s ease; }
.tadreep-hero-slide.is-active { opacity:1; visibility:visible; transform:none; z-index:1; }
.tadreep-hero-slide .tadreep-hero-inner { width:100%; }
.tadreep-hero-kicker { display:inline-flex; margin-block-end:12px; padding:6px 12px; border:1px solid rgba(255,255,255,.18); border-radius:999px; background:rgba(255,255,255,.07); color:rgba(255,255,255,.86); font-size:.82rem; font-weight:700; }
.tadreep-hero-copy h1 { margin-block-end:16px; }
.tadreep-hero-symbol { width:clamp(190px,22vw,300px); height:clamp(190px,22vw,300px); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:clamp(5rem,10vw,9rem); font-weight:700; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); box-shadow:0 0 0 28px rgba(255,255,255,.025), 0 0 0 56px rgba(0,196,200,.06); }
.tadreep-hero-controls { position:absolute; inset-inline:0; inset-block-end:20px; z-index:5; display:flex; align-items:center; justify-content:center; gap:18px; }
.tadreep-hero-controls > button { width:40px; height:40px; border:1px solid rgba(255,255,255,.25); border-radius:50%; background:rgba(255,255,255,.08); color:#fff; font-size:28px; line-height:1; cursor:pointer; }
.tadreep-hero-dots { display:flex; align-items:center; gap:8px; }
.tadreep-hero-dots button { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.45); cursor:pointer; }
.tadreep-hero-dots button.is-active { width:26px; border-radius:10px; background:#fff; }
.tadreep-hero-controls button:focus-visible { outline:3px solid var(--color-turquoise-500); outline-offset:3px; }
@media (max-width:959px) { .tadreep-hero-slider,.tadreep-hero-slides { min-height:470px; } .tadreep-hero-slide .tadreep-hero-inner { grid-template-columns:1fr; text-align:center; } .tadreep-hero-slide .tadreep-hero-copy { text-align:center; } .tadreep-hero-slide h1, .tadreep-hero-slide p, .tadreep-hero-slide .tadreep-hero-kicker { text-align:center; } .tadreep-hero-slide .tadreep-hero-cta { justify-content:center; } .tadreep-hero-slide .tadreep-hero-graphic { display:flex; min-height:120px; } .tadreep-hero-slide .tadreep-hero-graphic img { width:150px; } .tadreep-hero-symbol { width:130px; height:130px; font-size:4rem; } }
@media (max-width:639px) { .tadreep-hero-slider,.tadreep-hero-slides { min-height:520px; } .tadreep-hero-slide .tadreep-hero-inner { padding-block:36px 68px; } .tadreep-hero-slide .tadreep-hero-copy h1 { font-size:2.35rem; } .tadreep-hero-slide .tadreep-hero-copy p { font-size:.95rem; } }
@media (prefers-reduced-motion:reduce) { .tadreep-hero-slide { transition:none; } }


/* MVP1-RC11 — premium provider cards + lighter course imagery. */
.tadreep-provider-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 22px !important;
  align-items: stretch;
  justify-content: space-between;
  text-align: start;
  gap: 18px;
  border: 1px solid rgba(8, 35, 78, .10);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 0%, #fbfdff 72%, #f1fbfb 100%);
  box-shadow: 0 10px 30px rgba(8, 35, 78, .07);
}
.tadreep-provider-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 4px;
  background: linear-gradient(90deg, var(--color-turquoise-500), var(--color-navy-800));
}
.tadreep-provider-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 190, 190, .28);
  box-shadow: 0 18px 40px rgba(8, 35, 78, .12);
}
.tadreep-provider-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.tadreep-provider-card-identity { min-width: 0; flex: 1; }
.tadreep-provider-card .tadreep-provider-avatar {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-radius: 50% !important;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 190, 190, .18), 0 10px 22px rgba(8, 35, 78, .10);
  background: #eefafa;
}
.tadreep-provider-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-block-end: 7px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--color-turquoise-50);
  color: var(--color-turquoise-700);
  font-size: .72rem;
  font-weight: 800;
}
.tadreep-provider-name {
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--color-navy-800);
}
.tadreep-provider-city {
  margin: 6px 0 0;
  color: var(--color-text-secondary);
  font-size: .86rem;
}
.tadreep-provider-city span { color: var(--color-turquoise-600); }
.tadreep-provider-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block-start: 14px;
  border-block-start: 1px solid rgba(8, 35, 78, .08);
  color: var(--color-navy-800);
  font-size: .82rem;
  font-weight: 800;
}
.tadreep-provider-card-footer span:last-child { color: var(--color-turquoise-600); font-size: 1.1rem; transition: transform .18s ease; }
.tadreep-provider-card:hover .tadreep-provider-card-footer span:last-child { transform: translateX(-4px); }

/* Smaller course artwork on the homepage keeps the page balanced and lets titles breathe. */
.tadreep-featured-track .tadreep-course-card .tadreep-course-image {
  aspect-ratio: 16 / 8;
  min-height: 150px;
  max-height: 170px;
}
.tadreep-featured-track .tadreep-course-card .tadreep-course-body { padding: 16px 18px 18px; }
.tadreep-featured-track .tadreep-course-card .tadreep-course-title { font-size: 1rem; }
@media (min-width: 960px) {
  .tadreep-featured-track { grid-auto-columns: minmax(260px, 285px); }
  .tadreep-featured-track .tadreep-course-card .tadreep-course-image { min-height: 145px; max-height: 155px; }
}
@media (max-width: 639px) {
  .tadreep-provider-card { min-height: 190px; padding: 18px !important; }
  .tadreep-provider-card .tadreep-provider-avatar { width: 68px; height: 68px; flex-basis: 68px; }
  .tadreep-provider-card-top { gap: 12px; }
  .tadreep-provider-name { font-size: 1rem; }
}


/* RC13: compact homepage course rectangles. */
.tadreep-home-courses { padding-block: 2rem 3rem; }
.tadreep-home-course-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.tadreep-home-course-list .tadreep-course-card { display:grid; grid-template-columns:180px minmax(0,1fr); min-height:170px; overflow:hidden; border:1px solid var(--color-border); border-radius:18px; background:#fff; }
.tadreep-home-course-list .tadreep-course-image { min-height:170px; aspect-ratio:auto; }
.tadreep-home-course-list .tadreep-course-image img { height:100%; width:100%; object-fit:cover; }
.tadreep-home-course-list .tadreep-course-body { padding:1rem 1.15rem; display:flex; flex-direction:column; justify-content:center; min-width:0; }
.tadreep-home-course-list .tadreep-course-title { font-size:1.08rem; margin-bottom:.55rem; }
.tadreep-home-course-list .tadreep-course-provider { margin-bottom:.6rem; }
.tadreep-home-course-list .tadreep-course-compact-meta { display:flex; align-items:center; justify-content:space-between; gap:.75rem; color:var(--color-text-secondary); font-size:.82rem; margin-bottom:.35rem; }
.tadreep-home-course-list .tadreep-course-compact-meta strong { color:var(--color-navy-800); font-size:.95rem; white-space:nowrap; }
.tadreep-home-course-list .tadreep-course-capacity { font-size:.78rem; color:var(--color-text-secondary); margin:0 0 .7rem; }
.tadreep-home-course-list .tadreep-btn { width:max-content; min-width:145px; }
.tadreep-home-course-list .tadreep-course-badges { gap:5px; }
@media (max-width:959px) { .tadreep-home-course-list { grid-template-columns:1fr; } }
@media (max-width:639px) { .tadreep-home-course-list .tadreep-course-card { grid-template-columns:112px minmax(0,1fr); min-height:145px; } .tadreep-home-course-list .tadreep-course-image { min-height:145px; } .tadreep-home-course-list .tadreep-course-body { padding:.8rem; } .tadreep-home-course-list .tadreep-course-title { font-size:.95rem; } .tadreep-home-course-list .tadreep-btn { min-width:0; width:100%; } }

/* Homepage header: no selected/filled navigation treatment. */
body.home .tadreep-header-nav .tadreep-nav-link.is-active { color: var(--color-text-primary); background: transparent; }

/* MVP1-RC17 — managed hero slider backgrounds and three presentation layouts. */
.tadreep-hero-slide { overflow:hidden; }
.tadreep-hero-slide-bg { position:absolute; inset:0; background-image:var(--hero-bg); background-size:cover; background-position:center; background-repeat:no-repeat; z-index:0; }
.tadreep-hero-slide.has-overlay .tadreep-hero-slide-bg::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(4,26,69,.92),rgba(4,26,69,.62) 48%,rgba(4,26,69,.24)); }
.tadreep-hero-slide-layout-2.has-overlay .tadreep-hero-slide-bg::after { background:linear-gradient(270deg,rgba(4,26,69,.92),rgba(4,26,69,.62) 48%,rgba(4,26,69,.24)); }
.tadreep-hero-slide-layout-3.has-overlay .tadreep-hero-slide-bg::after { background:rgba(4,26,69,.62); }
.tadreep-hero-slide .tadreep-hero-inner { position:relative; z-index:1; width:100%; }
.tadreep-hero-slide-layout-1 .tadreep-hero-inner { justify-content:flex-start; }
.tadreep-hero-slide-layout-2 .tadreep-hero-inner { justify-content:flex-end; }
.tadreep-hero-slide-layout-2 .tadreep-hero-copy { text-align:end; }
.tadreep-hero-slide-layout-2 .tadreep-hero-cta { justify-content:flex-end; }
.tadreep-hero-slide-layout-3 .tadreep-hero-inner { justify-content:center; text-align:center; }
.tadreep-hero-slide-layout-3 .tadreep-hero-copy { text-align:center; margin-inline:auto; }
.tadreep-hero-slide-layout-3 .tadreep-hero-cta { justify-content:center; }
.tadreep-hero-slide.is-no-image .tadreep-hero-slide-bg { background-image:linear-gradient(135deg,#061d4f 0%,#092b69 58%,#041a45 100%); }
.tadreep-hero-slide.is-no-image .tadreep-hero-slide-bg::after { display:none; }
@media (max-width:959px) {
 .tadreep-hero-slide-layout-1 .tadreep-hero-inner,.tadreep-hero-slide-layout-2 .tadreep-hero-inner,.tadreep-hero-slide-layout-3 .tadreep-hero-inner { justify-content:center; }
 .tadreep-hero-slide-layout-1 .tadreep-hero-copy,.tadreep-hero-slide-layout-2 .tadreep-hero-copy,.tadreep-hero-slide-layout-3 .tadreep-hero-copy { text-align:center; }
 .tadreep-hero-slide-layout-1 .tadreep-hero-cta,.tadreep-hero-slide-layout-2 .tadreep-hero-cta,.tadreep-hero-slide-layout-3 .tadreep-hero-cta { justify-content:center; }
}
@media (max-width:639px) {
 .tadreep-hero-slide-bg { background-image:var(--hero-mobile-bg); }
 .tadreep-hero-slide.has-overlay .tadreep-hero-slide-bg::after,.tadreep-hero-slide-layout-2.has-overlay .tadreep-hero-slide-bg::after { background:linear-gradient(180deg,rgba(4,26,69,.48),rgba(4,26,69,.86)); }
}


/* MVP1-DESIGN-RC19 — approved Hero typography/contrast correction.
 * Kept intentionally narrow so no other homepage section is affected. */
.tadreep-hero-slider .tadreep-hero-copy {
  max-inline-size: 760px;
}
.tadreep-hero-slider .tadreep-hero-copy h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  margin-block-end: 16px;
}
.tadreep-hero-slider .tadreep-hero-copy p {
  color: #eaf2ff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  max-inline-size: 680px;
  margin-block-end: 26px;
}
.tadreep-hero-slider .tadreep-hero-kicker {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.tadreep-hero-slider .tadreep-hero-cta .tadreep-btn {
  font-size: 17px;
}
.tadreep-hero-slide-layout-3 .tadreep-hero-copy p {
  margin-inline: auto;
}
@media (max-width: 959px) {
  .tadreep-hero-slider .tadreep-hero-copy { max-inline-size: 680px; margin-inline: auto; }
  .tadreep-hero-slider .tadreep-hero-copy h1 { font-size: 40px; }
  .tadreep-hero-slider .tadreep-hero-copy p { font-size: 18px; margin-inline: auto; }
}
@media (max-width: 639px) {
  .tadreep-hero-slider .tadreep-hero-kicker { font-size: 14px; }
  .tadreep-hero-slider .tadreep-hero-copy h1 { font-size: 32px; line-height: 1.4; }
  .tadreep-hero-slider .tadreep-hero-copy p { font-size: 16px; line-height: 1.75; }
  .tadreep-hero-slider .tadreep-hero-cta .tadreep-btn { font-size: 16px; }
}

/* RC20 — richer provider cards using real Tadreep data only. */
.tadreep-provider-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:22px;}
.tadreep-provider-card{
  position:relative;overflow:hidden;display:flex;flex-direction:column;gap:18px;
  min-height:360px;padding:24px!important;border:1px solid rgba(8,35,78,.10);
  border-radius:28px;background:linear-gradient(145deg,#fff 0%,#fbfdff 72%,#f2fbfc 100%);
  box-shadow:0 16px 42px rgba(8,35,78,.09);text-align:start;
}
.tadreep-provider-card::before{content:"";position:absolute;inset-block-start:0;inset-inline:0;height:5px;background:linear-gradient(90deg,var(--color-turquoise-500),var(--color-navy-800));}
.tadreep-provider-card:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(8,35,78,.13);border-color:rgba(0,190,190,.28);}
.tadreep-provider-card-badges{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.tadreep-provider-type,.tadreep-provider-location{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 12px;font-size:.78rem;font-weight:800;}
.tadreep-provider-type{background:linear-gradient(90deg,#e8fbfb,#ddf6fb);color:var(--color-navy-800);}
.tadreep-provider-type>span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--color-turquoise-600);color:#fff;font-size:.72rem;}
.tadreep-provider-location{background:#f2f7fc;color:var(--color-text-secondary);}
.tadreep-provider-card-main{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:18px;}
.tadreep-provider-card .tadreep-provider-avatar{width:96px;height:96px;flex:0 0 96px;border-radius:50%!important;background:#fff;border:4px solid #fff;box-shadow:0 0 0 1px rgba(0,157,190,.20),0 12px 28px rgba(8,35,78,.10);overflow:hidden;}
.tadreep-provider-card .tadreep-provider-avatar img,.tadreep-provider-card .tadreep-provider-avatar-fallback{width:100%;height:100%;object-fit:cover;}
.tadreep-provider-name{margin:0;color:var(--color-navy-800);font-size:1.22rem;line-height:1.55;font-weight:800;}
.tadreep-provider-summary{margin:8px 0 0;color:var(--color-text-secondary);font-size:.88rem;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.tadreep-provider-card-stats{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid rgba(8,35,78,.08);padding-block:16px;}
.tadreep-provider-card-stats>div{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-height:58px;}
.tadreep-provider-card-stats>div+div{border-inline-start:1px solid rgba(8,35,78,.08);}
.tadreep-provider-card-stats strong{font-size:1.18rem;color:var(--color-navy-800);}
.tadreep-provider-card-stats span{font-size:.78rem;color:var(--color-text-secondary);}
.tadreep-provider-rating-stat strong>span{color:#f6b51b;}
.tadreep-provider-card-actions{display:flex;gap:10px;margin-top:auto;}
.tadreep-provider-card-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;border-radius:14px;text-decoration:none;font-weight:800;font-size:.86rem;transition:all .18s ease;}
.tadreep-provider-card-btn.is-primary{color:#072d55;background:linear-gradient(90deg,var(--color-turquoise-500),#18c4c7);}
.tadreep-provider-card-btn.is-secondary{color:var(--color-navy-800);background:#fff;border:1px solid rgba(8,35,78,.16);}
.tadreep-provider-card-btn:hover{transform:translateY(-1px);}
@media(max-width:639px){.tadreep-provider-grid{grid-template-columns:1fr}.tadreep-provider-card{min-height:0;padding:18px!important;border-radius:22px}.tadreep-provider-card-main{grid-template-columns:76px minmax(0,1fr);gap:13px}.tadreep-provider-card .tadreep-provider-avatar{width:76px;height:76px;flex-basis:76px}.tadreep-provider-name{font-size:1.05rem}.tadreep-provider-card-actions{flex-direction:column}.tadreep-provider-card-btn{width:100%}}

/* MVP1-DESIGN-RC21 — compact latest-centres slider on homepage. */
.tadreep-latest-centers { overflow:hidden; background:linear-gradient(180deg,#fff 0%,#f8fbfe 100%); }
.tadreep-centers-section-head { margin-block-end:1.15rem; }
.tadreep-centers-slider { position:relative; }
.tadreep-centers-track {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(270px, 315px);
  gap:16px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:inline mandatory;
  scrollbar-width:none;
  padding:6px 2px 14px;
}
.tadreep-centers-track::-webkit-scrollbar { display:none; }
.tadreep-center-slide-card {
  scroll-snap-align:start;
  min-width:0;
  min-height:278px;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:20px;
  border:1px solid rgba(8,35,78,.10);
  border-radius:20px;
  background:linear-gradient(145deg,#fff 0%,#fbfdff 72%,#f1fbfb 100%);
  box-shadow:0 8px 24px rgba(8,35,78,.07);
  position:relative;
  overflow:hidden;
}
.tadreep-center-slide-card::before { content:""; position:absolute; inset-block-start:0; inset-inline:0; block-size:4px; background:linear-gradient(90deg,var(--color-turquoise-500),var(--color-navy-800)); }
.tadreep-center-slide-copy { text-align:start; min-width:0; }
.tadreep-center-slide-copy h3 { margin:0 0 6px; color:var(--color-navy-800); font-size:1rem; line-height:1.55; font-weight:800; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.tadreep-center-slide-field { margin:0 0 5px; color:var(--color-turquoise-700); font-size:.82rem; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tadreep-center-slide-city { margin:0; color:var(--color-text-secondary); font-size:.8rem; }
.tadreep-center-slide-avatar { inline-size:78px; block-size:78px; margin-inline:auto; flex:0 0 78px; border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#fff; border:3px solid #fff; box-shadow:0 0 0 1px rgba(0,190,190,.20),0 8px 18px rgba(8,35,78,.09); text-decoration:none; }
.tadreep-center-slide-avatar img,.tadreep-center-slide-avatar .tadreep-provider-avatar-fallback { width:100%; height:100%; object-fit:cover; display:flex; align-items:center; justify-content:center; }
.tadreep-center-slide-avatar .tadreep-provider-avatar-fallback { color:var(--color-turquoise-700); background:var(--color-turquoise-50); font-weight:800; }
.tadreep-center-slide-footer { margin-block-start:auto; padding-block-start:12px; border-block-start:1px solid rgba(8,35,78,.08); display:flex; align-items:center; justify-content:space-between; gap:10px; }
.tadreep-center-slide-rating { display:inline-flex; align-items:center; gap:4px; color:var(--color-navy-800); font-size:.8rem; }
.tadreep-center-slide-rating > span:first-child { color:#f5ad00; font-size:1rem; }
.tadreep-center-slide-rating small,.tadreep-center-slide-rating .is-empty { color:var(--color-text-secondary); font-size:.72rem; }
.tadreep-center-slide-link { color:var(--color-navy-800); font-size:.8rem; font-weight:800; text-decoration:none; white-space:nowrap; }
.tadreep-center-slide-link span { color:var(--color-turquoise-700); margin-inline-start:4px; }
.tadreep-centers-slider-controls { display:flex; align-items:center; justify-content:center; gap:10px; margin-block-start:8px; }
.tadreep-centers-slider-controls button { inline-size:42px; block-size:42px; border-radius:50%; border:1px solid rgba(8,35,78,.14); background:#fff; color:var(--color-navy-800); display:grid; place-items:center; font:inherit; font-size:1.35rem; cursor:pointer; box-shadow:0 5px 16px rgba(8,35,78,.06); }
.tadreep-centers-slider-controls button:hover { border-color:var(--color-turquoise-500); color:var(--color-turquoise-700); }
@media (min-width:960px) {
  .tadreep-centers-track { grid-auto-columns:minmax(280px, calc((100% - 48px)/4)); }
}
@media (max-width:639px) {
  .tadreep-centers-section-head { align-items:flex-start; }
  .tadreep-centers-track { grid-auto-columns:minmax(260px, 84vw); gap:12px; padding-inline:1px; }
  .tadreep-center-slide-card { min-height:255px; padding:17px; border-radius:18px; }
  .tadreep-center-slide-avatar { inline-size:70px; block-size:70px; flex-basis:70px; }
  .tadreep-centers-slider-controls { display:none; }
}

/* RC38: compact course-ad information hierarchy. */
.tadreep-course-provider{display:flex;align-items:center;gap:8px;margin:0 0 8px;min-width:0}

/* Provider identity precedes the course title: one compact header, then one full title line. */
.tadreep-home-course-list .tadreep-course-provider,
.tadreep-home-course-feed .tadreep-course-provider{margin-bottom:6px}
.tadreep-home-course-list .tadreep-course-provider-name,
.tadreep-home-course-feed .tadreep-course-provider-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}
.tadreep-home-course-list .tadreep-course-title,
.tadreep-home-course-feed .tadreep-course-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0;line-height:1.7}
.tadreep-course-provider-avatar{width:30px;height:30px;flex:0 0 30px;border-radius:50%;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:var(--color-navy-50)}
.tadreep-course-provider-avatar img{width:100%;height:100%;object-fit:cover}
.tadreep-course-provider-name{font-size:.82rem;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tadreep-course-duration{font-size:.8rem;font-weight:650;color:var(--color-text-secondary);margin:0 0 7px;direction:rtl;text-align:right}
.tadreep-course-capacity{display:block;margin:0 0 8px;font-size:.78rem}
\n\n/* RC39: prevent course-card content collisions and give each datum its own visual lane. */\n.tadreep-course-card .tadreep-course-body{gap:12px;padding:18px;min-width:0}\n.tadreep-course-card .tadreep-course-provider{margin:0;padding-block-end:11px;border-block-end:1px solid rgba(8,35,78,.08);min-height:42px}\n.tadreep-course-card .tadreep-course-provider-name{font-size:.88rem;line-height:1.55;color:var(--color-navy-800)}\n.tadreep-course-card .tadreep-course-title{margin:0;font-size:1.08rem;line-height:1.65;color:var(--color-navy-900);min-width:0}\n.tadreep-course-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}\n.tadreep-course-facts>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-width:0;padding:9px 11px;border:1px solid rgba(8,35,78,.08);border-radius:11px;background:var(--color-navy-50);margin:0}\n.tadreep-course-fact-label{font-size:.7rem;line-height:1.4;color:var(--color-text-secondary);font-weight:500}\n.tadreep-course-facts strong{font-size:.82rem;line-height:1.55;color:var(--color-navy-800);font-weight:700;white-space:normal;overflow-wrap:anywhere}\n.tadreep-course-card .tadreep-course-compact-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin:0;padding-block:4px}\n.tadreep-course-location{display:inline-flex;align-items:center;gap:5px;min-width:0;color:var(--color-text-secondary);font-size:.82rem}\n.tadreep-course-location span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.tadreep-course-card-price{margin-inline-start:auto;flex:0 0 auto;color:var(--color-navy-900);font-size:1.25rem;line-height:1.3;white-space:nowrap;font-weight:700}\n.tadreep-course-card-price small{font-size:.72em;font-weight:600}\n.tadreep-course-card .tadreep-btn-full{margin-block-start:2px;min-height:46px}\n@media (max-width:639px){\n .tadreep-course-card .tadreep-course-body{padding:15px;gap:10px}\n .tadreep-course-facts{gap:7px}\n .tadreep-course-facts>div{padding:8px 9px}\n .tadreep-course-card-price{font-size:1.1rem}\n}\n
/* RC40: approved course-card information layout — clear, non-overlapping tiles. */
.tadreep-course-card .tadreep-course-body{
  gap:14px;
  padding:18px;
}
.tadreep-course-card .tadreep-course-provider{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding-block-end:12px;
  border-block-end:1px solid rgba(8,35,78,.08);
}
.tadreep-course-card .tadreep-course-provider-avatar{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:50%;
  overflow:hidden;
  border:1px solid rgba(8,35,78,.10);
  background:#fff;
}
.tadreep-course-card .tadreep-course-provider-avatar img,
.tadreep-course-card .tadreep-course-provider-avatar .tadreep-provider-avatar-fallback{
  width:100%;height:100%;object-fit:cover;display:flex;align-items:center;justify-content:center;
}
.tadreep-course-card .tadreep-course-provider-name{
  font-size:.9rem;
  line-height:1.5;
  font-weight:700;
  color:var(--color-navy-800);
  white-space:normal;
  overflow:visible;
}
.tadreep-course-card .tadreep-course-title{
  font-size:1.16rem;
  line-height:1.55;
  color:var(--color-navy-900);
  margin:0;
}
.tadreep-course-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:0;
}
.tadreep-course-stat{
  min-width:0;
  min-height:102px;
  padding:11px 7px 10px;
  border:1px solid rgba(8,35,78,.07);
  border-radius:13px;
  background:linear-gradient(180deg,#f8fbff 0%,#f2f7fc 100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:4px;
}
.tadreep-course-stat-icon{
  width:25px;
  height:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:2px;
}
.tadreep-course-stat-icon svg{width:100%;height:100%;fill:currentColor;display:block}
.tadreep-course-stat-seats .tadreep-course-stat-icon{color:#e94455}
.tadreep-course-stat-hours .tadreep-course-stat-icon{color:#2376d8}
.tadreep-course-stat-days .tadreep-course-stat-icon{color:#18a96b}
.tadreep-course-stat-price .tadreep-course-stat-icon{color:#ee8d18}
.tadreep-course-stat strong{
  display:block;
  max-width:100%;
  color:#101828;
  font-size:.9rem;
  line-height:1.35;
  font-weight:750;
  white-space:normal;
  overflow-wrap:anywhere;
}
.tadreep-course-stat-label{
  color:var(--color-text-secondary);
  font-size:.68rem;
  line-height:1.35;
  font-weight:500;
}
.tadreep-course-city-row{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:66px;
  padding:10px 13px;
  border:1px solid rgba(8,35,78,.07);
  border-radius:13px;
  background:linear-gradient(180deg,#f8fbff 0%,#f2f7fc 100%);
}
.tadreep-course-city-icon{
  width:25px;
  height:25px;
  flex:0 0 25px;
  color:#2776d6;
}
.tadreep-course-city-icon svg{width:100%;height:100%;fill:currentColor;display:block}
.tadreep-course-city-row>span:last-child{display:flex;flex-direction:column;gap:1px;min-width:0}
.tadreep-course-city-row small{font-size:.72rem;color:var(--color-text-secondary);line-height:1.3}
.tadreep-course-city-row strong{font-size:.92rem;color:var(--color-navy-900);line-height:1.45;overflow-wrap:anywhere}
.tadreep-course-card .tadreep-btn-full{
  min-height:46px;
  border-radius:12px;
  margin-top:0;
}
@media (max-width:639px){
  .tadreep-course-card .tadreep-course-body{padding:14px;gap:12px}
  .tadreep-course-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .tadreep-course-stat{min-height:92px;padding:9px 6px}
  .tadreep-course-stat strong{font-size:.84rem}
  .tadreep-course-stat-label{font-size:.66rem}
}


/* RC41: approved course-card layout: days, hours, seats, city + separate price strip. */
.tadreep-course-card .tadreep-course-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tadreep-course-card .tadreep-course-stat{min-height:108px;gap:5px}
.tadreep-course-card .tadreep-course-stat-icon{order:1}
.tadreep-course-card .tadreep-course-stat-label{order:2;font-size:.72rem}
.tadreep-course-card .tadreep-course-stat strong{order:3;font-size:.92rem;color:var(--color-navy-900)}
.tadreep-course-stat-city .tadreep-course-stat-icon{color:#2376d8}
.tadreep-course-price-row{display:flex;align-items:center;justify-content:center;gap:16px;min-height:64px;padding:8px 12px;border:1px solid rgba(35,118,216,.35);border-radius:13px;background:linear-gradient(180deg,#f8fbff 0%,#f2f7fc 100%);direction:rtl}
.tadreep-course-price-label{display:inline-flex;align-items:center;justify-content:center;min-width:104px;min-height:44px;padding:8px 22px;border-radius:11px;background:#0f6fc6;color:#fff;font-size:.92rem;font-weight:700;line-height:1}
.tadreep-course-price-row strong{font-size:1.28rem;line-height:1.3;color:var(--color-navy-900);font-weight:750;white-space:nowrap}
@media (max-width:639px){
 .tadreep-course-card .tadreep-course-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .tadreep-course-card .tadreep-course-stat{min-height:94px;padding:8px 3px;border-radius:10px}
 .tadreep-course-card .tadreep-course-stat-icon{width:22px;height:22px}
 .tadreep-course-card .tadreep-course-stat-label{font-size:.58rem;white-space:nowrap}
 .tadreep-course-card .tadreep-course-stat strong{font-size:.72rem;white-space:normal;overflow-wrap:normal}
 .tadreep-course-price-row{min-height:58px;gap:12px;padding:7px 9px}
 .tadreep-course-price-label{min-width:88px;min-height:40px;padding:7px 17px;font-size:.82rem}
 .tadreep-course-price-row strong{font-size:1.08rem}
}


/* RC42: enforce the approved four-column information row on every card. */
.tadreep-course-card .tadreep-course-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;width:100%}
.tadreep-course-card .tadreep-course-stat{min-width:0!important;min-height:104px!important;padding:9px 4px!important}
.tadreep-course-card .tadreep-course-stat-icon{order:1;width:25px;height:25px;margin:0 0 2px}
.tadreep-course-card .tadreep-course-stat-label{order:2;font-size:.68rem;white-space:nowrap}
.tadreep-course-card .tadreep-course-stat strong{order:3;font-size:.86rem;white-space:normal;overflow-wrap:anywhere}
.tadreep-course-card .tadreep-course-price-row{display:grid!important;grid-template-columns:minmax(96px,32%) 1fr;align-items:stretch;gap:0!important;min-height:58px!important;padding:0!important;overflow:hidden;border:1px solid rgba(35,118,216,.35);border-radius:13px;background:#f5f9fd;direction:rtl}
.tadreep-course-card .tadreep-course-price-label{display:flex!important;align-items:center;justify-content:center;min-width:0!important;min-height:58px!important;padding:10px 14px!important;border-radius:0 12px 12px 0!important;background:#0f6fc6!important;color:#fff!important;font-size:.92rem!important;font-weight:750}
.tadreep-course-card .tadreep-course-price-row strong{display:flex;align-items:center;justify-content:center;padding:8px 12px;font-size:1.18rem!important;color:var(--color-navy-900);font-weight:750;white-space:nowrap}
.tadreep-home-course-list .tadreep-course-card .tadreep-course-body{gap:10px;padding:14px 16px}
.tadreep-home-course-list .tadreep-course-card .tadreep-course-stat{min-height:94px!important}
.tadreep-home-course-list .tadreep-course-card .tadreep-course-stat-label{font-size:.62rem}
.tadreep-home-course-list .tadreep-course-card .tadreep-course-stat strong{font-size:.78rem}
@media(max-width:639px){
 .tadreep-course-card .tadreep-course-stats{gap:4px!important}
 .tadreep-course-card .tadreep-course-stat{min-height:88px!important;padding:7px 2px!important;border-radius:9px}
 .tadreep-course-card .tadreep-course-stat-icon{width:21px;height:21px}
 .tadreep-course-card .tadreep-course-stat-label{font-size:.54rem}
 .tadreep-course-card .tadreep-course-stat strong{font-size:.68rem}
 .tadreep-course-card .tadreep-course-price-row{grid-template-columns:minmax(82px,34%) 1fr;min-height:52px!important}
 .tadreep-course-card .tadreep-course-price-label{min-height:52px!important;font-size:.8rem!important;padding:8px!important}
 .tadreep-course-card .tadreep-course-price-row strong{font-size:1rem!important;padding:7px}
}

/* RC43: final approved price strip + primary course-details CTA. */
.tadreep-course-card .tadreep-course-price-row{
  display:grid!important;
  grid-template-columns:minmax(112px,30%) minmax(0,1fr)!important;
  align-items:stretch!important;
  min-height:60px!important;
  margin-top:2px!important;
  padding:0!important;
  gap:0!important;
  overflow:hidden!important;
  border:1px solid #8fc7f4!important;
  border-radius:13px!important;
  background:#f4f9fd!important;
  direction:rtl!important;
}
.tadreep-course-card .tadreep-course-price-label{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:60px!important;
  padding:10px 16px!important;
  border:0!important;
  border-radius:0 12px 12px 0!important;
  background:#0f6fc6!important;
  color:#fff!important;
  font-size:.95rem!important;
  font-weight:700!important;
  line-height:1!important;
}
.tadreep-course-card .tadreep-course-price-row strong{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  padding:9px 14px!important;
  color:var(--color-navy-900)!important;
  font-size:1.22rem!important;
  font-weight:750!important;
  line-height:1.3!important;
  white-space:nowrap!important;
}
.tadreep-course-card > .tadreep-course-body > a.tadreep-btn.tadreep-btn-full{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:52px!important;
  margin-top:2px!important;
  border:1px solid #0f6fc6!important;
  border-radius:13px!important;
  background:#0f6fc6!important;
  color:#fff!important;
  font-size:1rem!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.tadreep-course-card > .tadreep-course-body > a.tadreep-btn.tadreep-btn-full:hover,
.tadreep-course-card > .tadreep-course-body > a.tadreep-btn.tadreep-btn-full:focus{
  background:#0b5da8!important;
  border-color:#0b5da8!important;
  color:#fff!important;
}
@media(max-width:639px){
  .tadreep-course-card .tadreep-course-price-row{grid-template-columns:minmax(88px,34%) minmax(0,1fr)!important;min-height:52px!important}
  .tadreep-course-card .tadreep-course-price-label{min-height:52px!important;padding:8px 10px!important;font-size:.82rem!important}
  .tadreep-course-card .tadreep-course-price-row strong{padding:8px!important;font-size:1rem!important}
  .tadreep-course-card > .tadreep-course-body > a.tadreep-btn.tadreep-btn-full{min-height:48px!important;font-size:.92rem!important}
}

/* RC45 — all course thumbnails share a stable 16:9 visual crop. */
.tadreep-course-image{aspect-ratio:16/9;overflow:hidden;}
.tadreep-course-image img{width:100%;height:100%;object-fit:cover;object-position:center;}

/* RC47 — lighter homepage course browsing: compact one-row sliders, 3 cards desktop / 1 mobile. */
.tadreep-home-courses{padding-block:2.25rem 2.75rem;overflow:hidden}
.tadreep-home-featured{background:#f8fbfe}
.tadreep-home-course-slider{position:relative}
.tadreep-home-course-list{
  display:grid!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);grid-template-columns:none!important;
  gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;
  overscroll-behavior-inline:contain;padding:3px 2px 12px;
}
.tadreep-home-course-list::-webkit-scrollbar{display:none}
.tadreep-home-course-list .tadreep-course-card{
  display:flex!important;flex-direction:column!important;grid-template-columns:none!important;min-height:0!important;
  scroll-snap-align:start;border-radius:16px;
}
.tadreep-home-course-list .tadreep-course-image{aspect-ratio:16/8.2!important;min-height:0!important;max-height:165px}
.tadreep-home-course-list .tadreep-course-body{padding:12px 13px 13px!important;gap:8px!important;justify-content:flex-start!important}
.tadreep-home-course-list .tadreep-course-provider{min-height:34px;padding-block-end:7px;margin:0!important;gap:7px}
.tadreep-home-course-list .tadreep-course-provider-avatar{width:34px;height:34px;flex:0 0 34px}
.tadreep-home-course-list .tadreep-course-provider-name{font-size:.76rem;line-height:1.4}
.tadreep-home-course-list .tadreep-course-title{font-size:.93rem!important;line-height:1.45;margin:0!important;min-height:2.7em}
.tadreep-home-course-list .tadreep-course-stats{gap:4px!important}
.tadreep-home-course-list .tadreep-course-stat{min-height:78px!important;padding:6px 2px!important;border-radius:9px}
.tadreep-home-course-list .tadreep-course-stat-icon{width:19px;height:19px}
.tadreep-home-course-list .tadreep-course-stat-label{font-size:.52rem!important}
.tadreep-home-course-list .tadreep-course-stat strong{font-size:.66rem!important;line-height:1.35}
.tadreep-home-course-list .tadreep-course-price-row{min-height:46px!important;grid-template-columns:minmax(72px,32%) 1fr!important;border-radius:10px}
.tadreep-home-course-list .tadreep-course-price-label{min-height:46px!important;padding:6px 8px!important;font-size:.75rem!important}
.tadreep-home-course-list .tadreep-course-price-row strong{font-size:.9rem!important;padding:6px!important}
.tadreep-home-course-list .tadreep-btn{width:100%!important;min-width:0!important;min-height:42px!important;font-size:.82rem!important;padding:8px 10px!important}
.tadreep-home-course-arrow{position:absolute;top:50%;z-index:5;transform:translateY(-50%);width:38px;height:38px;border:1px solid rgba(8,35,78,.1);border-radius:50%;background:#fff;color:var(--color-navy-800);font-size:26px;line-height:1;box-shadow:0 5px 18px rgba(8,35,78,.12);cursor:pointer}
.tadreep-home-course-arrow.is-prev{inset-inline-start:-14px}.tadreep-home-course-arrow.is-next{inset-inline-end:-14px}
.tadreep-home-course-arrow:disabled{opacity:.3;cursor:default}
@media(max-width:959px){.tadreep-home-course-list{grid-auto-columns:calc((100% - 14px)/2);gap:14px}}
@media(max-width:639px){
 .tadreep-home-courses{padding-block:1.75rem 2.1rem}
 .tadreep-home-course-list{grid-auto-columns:minmax(270px,88vw);gap:10px;padding-inline:1px}
 .tadreep-home-course-list .tadreep-course-image{max-height:150px}
 .tadreep-home-course-arrow{display:none}
}

/* RC65 — richer course-card status, dates and modern promotion badges. */
.tadreep-course-badges{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.tadreep-course-badges .tadreep-badge{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:5px 9px;border:1px solid transparent;border-radius:999px;font-size:.72rem;font-weight:700;line-height:1;box-shadow:0 5px 16px rgba(8,35,78,.10);backdrop-filter:blur(7px)}
.tadreep-course-badges .tadreep-badge svg{width:13px;height:13px;fill:currentColor;flex:0 0 auto}
.tadreep-course-badges .tadreep-badge-featured{background:linear-gradient(135deg,#fff7d6,#fff);border-color:#f1d66a;color:#8b6500}
.tadreep-course-badges .tadreep-badge-sponsored{background:rgba(8,35,78,.92);border-color:rgba(255,255,255,.22);color:#fff}
.tadreep-course-online-strip{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid rgba(13,148,136,.18);border-radius:10px;background:linear-gradient(90deg,rgba(20,184,166,.10),rgba(14,165,233,.08));color:#0f766e;font-size:.8rem;font-weight:700}
.tadreep-course-online-dot{width:8px;height:8px;border-radius:50%;background:#14b8a6;box-shadow:0 0 0 4px rgba(20,184,166,.12)}
.tadreep-course-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.tadreep-course-timeline>span{display:flex;flex-direction:column;gap:2px;min-width:0;padding:8px 9px;border:1px solid rgba(8,35,78,.07);border-radius:10px;background:#fbfdff}
.tadreep-course-timeline small{font-size:.65rem;color:var(--color-text-secondary);white-space:nowrap}
.tadreep-course-timeline strong{font-size:.75rem;color:var(--color-navy-800);font-weight:700;white-space:nowrap}
.tadreep-course-stats.is-online{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:639px){.tadreep-course-timeline{gap:5px}.tadreep-course-timeline>span{padding:7px 6px}.tadreep-course-timeline small{font-size:.59rem}.tadreep-course-timeline strong{font-size:.68rem}.tadreep-course-stats.is-online{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* RC66 — provider identity on course cards: keep the course artwork clean.
 * The training-centre logo lives only beside the provider name, never over the course image. */
.tadreep-course-card .tadreep-course-provider{
  display:flex;
  align-items:center;
  gap:9px;
}
.tadreep-course-card .tadreep-course-provider-avatar{
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
  border-radius:50%!important;
  border:1px solid rgba(8,35,78,.12)!important;
  background:#fff!important;
  overflow:hidden!important;
  box-shadow:0 2px 7px rgba(8,35,78,.06);
}
.tadreep-course-card .tadreep-course-provider-avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:2px;
  background:#fff;
}
.tadreep-course-card .tadreep-course-provider-name{
  flex:1 1 auto;
  min-width:0;
}


/* RC73 — compact provider identity + online as the fourth information tile. */
.tadreep-course-card .tadreep-course-provider{
  justify-content:flex-start;
  width:max-content;
  min-height:38px;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.tadreep-course-card .tadreep-course-provider-avatar{width:38px!important;height:38px!important;flex:0 0 38px!important;}
.tadreep-course-card .tadreep-course-provider-name{display:none!important;}
.tadreep-course-card .tadreep-course-stats,
.tadreep-course-card .tadreep-course-stats.is-online{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.tadreep-course-card .tadreep-course-stat-online .tadreep-course-stat-icon,
.tadreep-course-card .tadreep-course-stat-online strong{color:#0f8f89;}
.tadreep-course-card .tadreep-course-online-strip{display:none!important;}
.tadreep-course-image .tadreep-badge-online,
.tadreep-course-image .tadreep-badge-in-person{display:none!important;}
@media(max-width:639px){
 .tadreep-course-card .tadreep-course-provider-avatar{width:36px!important;height:36px!important;flex-basis:36px!important;}
 .tadreep-course-card .tadreep-course-stats,.tadreep-course-card .tadreep-course-stats.is-online{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;}
 .tadreep-course-card .tadreep-course-stat{min-width:0!important;padding:8px 3px!important;}
}


/* RC78: separate center/company display name from its business field. */
.tadreep-directory-center-field{
  margin:2px 0 7px;
  color:var(--color-text-secondary);
  font-size:.78rem;
  line-height:1.55;
  font-weight:500;
}
.tadreep-center-slide-card h3{
  font-size:1.08rem;
  line-height:1.45;
  font-weight:800;
}
.tadreep-center-slide-field{
  color:var(--color-text-secondary);
  font-size:.76rem;
  line-height:1.5;
  font-weight:500;
}
.tadreep-course-card .tadreep-course-provider{
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:100%;
  border:0;
  padding:0;
  min-height:0;
}
.tadreep-course-card .tadreep-course-provider-name{
  display:inline-block!important;
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.76rem;
  line-height:1.4;
  color:var(--color-navy-800);
  font-weight:700;
}
@media (max-width:639px){
  .tadreep-course-card .tadreep-course-provider-name{max-width:140px;font-size:.72rem}
  .tadreep-directory-center-field{font-size:.74rem}
}

/* RC84 — approved Tadreep identity treatment for public course-card titles. */
.tadreep-course-card .tadreep-course-title{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:62px;
  margin:0!important;
  padding:12px 34px;
  overflow:hidden;
  border:1px solid rgba(24,120,196,.24);
  border-radius:14px;
  background:
    linear-gradient(135deg,rgba(0,194,190,.09),rgba(255,255,255,.95) 48%,rgba(24,120,196,.08)),
    #f8fcff;
  text-align:center;
  isolation:isolate;
}
.tadreep-course-card .tadreep-course-title::before,
.tadreep-course-card .tadreep-course-title::after{
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  opacity:.12;
  transform:rotate(-18deg);
  background:linear-gradient(90deg,#08c8c4,#1878c4);
}
.tadreep-course-card .tadreep-course-title::before{width:82px;height:14px;inset-inline-start:-18px;inset-block-start:14px;border-radius:999px}
.tadreep-course-card .tadreep-course-title::after{width:105px;height:8px;inset-inline-end:-28px;inset-block-end:12px;border-radius:999px}
.tadreep-course-card .tadreep-course-title a{
  display:-webkit-box;
  width:100%;
  overflow:hidden;
  color:var(--color-navy-900);
  font-size:1rem;
  line-height:1.55;
  font-weight:800;
  text-align:center;
  text-decoration:none;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.tadreep-course-card .tadreep-course-title::selection{background:rgba(0,194,190,.2)}
@media(max-width:639px){
  .tadreep-course-card .tadreep-course-title{min-height:58px;padding:10px 22px;border-radius:12px}
  .tadreep-course-card .tadreep-course-title a{font-size:.92rem;line-height:1.5}
}

/* RC87 — approved training-centre carousel, compact RTL cards. */
.tadreep-centers-section-head{text-align:right;margin-block-end:20px}.tadreep-centers-section-head .tadreep-eyebrow{color:var(--color-turquoise-700);font-weight:800}.tadreep-centers-section-head p{margin:6px 0 0;color:var(--color-text-secondary);font-size:.92rem}
.tadreep-centers-track{grid-auto-columns:minmax(310px,calc((100% - 32px)/3));gap:16px;padding:6px 2px 18px;direction:rtl}
.tadreep-center-slide-card{min-height:390px;padding:22px;border-radius:24px;gap:16px;background:linear-gradient(145deg,#fff 0%,#fbfdff 72%,#f2fbfd 100%)}
.tadreep-center-slide-card::before{height:4px}.tadreep-center-approved{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;background:#e7faf5;color:#078c75;border-radius:999px;padding:6px 10px;font-size:.75rem;font-weight:800}.tadreep-center-approved span{display:inline!important;width:auto!important;height:auto!important;min-width:0!important;background:transparent!important;color:inherit!important;border-radius:0!important;white-space:nowrap!important;overflow:visible!important}
.tadreep-center-favorite{position:absolute;inset-block-start:18px;inset-inline-end:18px;width:42px;height:42px;border:1px solid rgba(8,35,78,.12);border-radius:50%;background:#fff;color:var(--color-navy-800);display:grid;place-items:center;font:inherit;font-size:1.65rem;line-height:1;cursor:pointer;box-shadow:0 5px 16px rgba(8,35,78,.06);z-index:2}.tadreep-center-favorite.is-favorite{color:#e83455}.tadreep-center-favorite.is-favorite span{font-size:0}.tadreep-center-favorite.is-favorite span::before{content:'♥';font-size:1.35rem}
.tadreep-center-slide-main{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:16px}.tadreep-center-slide-avatar{width:96px;height:96px;flex-basis:96px;margin:0}.tadreep-center-slide-copy h3{font-size:1.1rem;margin-bottom:5px;-webkit-line-clamp:1}.tadreep-center-slide-field{color:var(--color-text-secondary);font-size:.83rem;line-height:1.7;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tadreep-center-slide-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid rgba(8,35,78,.08);padding-block:16px}.tadreep-center-slide-stats>div{min-width:0;text-align:center;padding-inline:7px;display:flex;flex-direction:column;align-items:center;gap:3px}.tadreep-center-slide-stats>div+div{border-inline-start:1px solid rgba(8,35,78,.08)}.tadreep-center-stat-icon{font-size:1.25rem;color:#1677d2}.tadreep-center-stat-icon.is-star{color:#f5ad00}.tadreep-center-slide-stats strong{font-size:.98rem;color:var(--color-navy-800);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tadreep-center-slide-stats small{font-size:.69rem;color:var(--color-text-secondary)}.tadreep-center-slide-stats em{font-style:normal;font-size:.61rem;color:#7b8ca3;white-space:nowrap}
.tadreep-center-slide-footer{border:0;padding:0;margin-top:auto}.tadreep-center-slide-link{width:100%;min-height:48px;border:1.5px solid #1778d2;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.88rem;background:#fff}.tadreep-center-slide-link:hover{background:#f3f9ff}
.tadreep-centers-slider-controls{gap:12px}.tadreep-centers-dots{display:flex;gap:7px;align-items:center}.tadreep-centers-dots i{display:block;width:9px;height:9px;border-radius:99px;background:#d9e4ef;transition:.2s}.tadreep-centers-dots i.is-active{width:28px;background:#1677d2}
@media(max-width:959px){.tadreep-centers-track{grid-auto-columns:minmax(300px,72vw)}}
@media(max-width:639px){.tadreep-centers-section-head{text-align:right}.tadreep-centers-track{grid-auto-columns:88vw}.tadreep-center-slide-card{min-height:350px;padding:18px}.tadreep-center-slide-main{grid-template-columns:78px minmax(0,1fr)}.tadreep-center-slide-avatar{width:74px;height:74px;flex-basis:74px}.tadreep-center-favorite{width:38px;height:38px;inset-block-start:15px;inset-inline-end:15px}.tadreep-center-slide-stats{padding-block:13px}.tadreep-center-slide-stats>div{padding-inline:4px}.tadreep-center-slide-stats strong{font-size:.85rem}.tadreep-center-slide-stats small{font-size:.62rem}.tadreep-center-slide-stats em{font-size:.56rem}.tadreep-centers-slider-controls{display:flex}.tadreep-centers-slider-controls>button{display:none}}

/* RC88 — corrected approved centre/company card: real SVGs, compact RTL hierarchy, no glyph-font fallbacks. */
.tadreep-center-slide-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:372px;
  padding:18px 20px 20px;
  gap:14px;
  overflow:hidden;
  border:1px solid rgba(8,35,78,.09);
  border-radius:22px;
  background:linear-gradient(145deg,#fff 0%,#fbfdff 75%,#f1fbfd 100%);
  box-shadow:0 14px 32px rgba(8,35,78,.07);
}
.tadreep-center-slide-card::before{
  content:"";
  position:absolute;
  inset-block-start:0;
  inset-inline:0;
  height:4px;
  background:linear-gradient(90deg,#08c8c4,#176fc6,#0a2540);
}
.tadreep-center-card-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  direction:rtl;
}
.tadreep-center-approved{
  position:static!important;
  align-self:auto!important;
  display:inline-flex!important;
  align-items:center;
  gap:6px;
  min-height:34px;
  margin:0;
  padding:6px 10px;
  border:0;
  border-radius:999px;
  background:#e9faf5;
  color:#078c75;
  font-size:.73rem;
  font-weight:800;
  white-space:nowrap;
}
.tadreep-center-approved .tadreep-ui-icon{width:17px;height:17px;flex:0 0 17px;stroke-width:2.1}
.tadreep-center-approved>span{display:inline!important;width:auto!important;height:auto!important;min-width:max-content!important;overflow:visible!important;background:transparent!important;color:inherit!important;white-space:nowrap!important}
.tadreep-center-favorite{
  position:static!important;
  inset:auto!important;
  width:40px!important;
  height:40px!important;
  flex:0 0 40px;
  display:grid!important;
  place-items:center;
  margin:0;
  padding:0;
  border:1px solid rgba(8,35,78,.12)!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#0a2540!important;
  box-shadow:0 5px 16px rgba(8,35,78,.06)!important;
  cursor:pointer;
}
.tadreep-center-favorite svg{width:21px;height:21px;display:block}
.tadreep-center-favorite.is-favorite{color:#e83455!important;border-color:rgba(232,52,85,.22)!important;background:#fff7f9!important}
.tadreep-center-favorite.is-favorite svg{fill:currentColor}
.tadreep-center-slide-main{
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr)!important;
  align-items:center!important;
  gap:15px!important;
  direction:rtl;
  min-width:0;
}
.tadreep-center-slide-avatar{
  width:88px!important;
  height:88px!important;
  flex:0 0 88px!important;
  display:grid;
  place-items:center;
  margin:0!important;
  overflow:hidden;
  border:2px solid #fff;
  border-radius:50%!important;
  background:#fff;
  box-shadow:0 0 0 1px rgba(8,35,78,.10),0 8px 22px rgba(8,35,78,.08);
}
.tadreep-center-slide-avatar img{width:100%!important;height:100%!important;object-fit:contain!important;padding:3px;background:#fff}
.tadreep-center-slide-copy{min-width:0;text-align:right!important}
.tadreep-center-slide-copy h3{
  margin:0 0 4px!important;
  color:#0a2540;
  font-size:1.06rem!important;
  line-height:1.45!important;
  font-weight:800!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tadreep-center-slide-field{
  display:-webkit-box!important;
  margin:0 0 6px!important;
  overflow:hidden;
  color:#72839b!important;
  font-size:.78rem!important;
  line-height:1.55!important;
  font-weight:500!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.tadreep-center-slide-city{
  display:flex;
  align-items:center;
  gap:5px;
  margin:0;
  color:#526781;
  font-size:.76rem;
  line-height:1.4;
}
.tadreep-center-slide-city .tadreep-ui-icon{width:16px;height:16px;flex:0 0 16px;color:#176fc6;stroke-width:2.1}
.tadreep-center-slide-stats{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin-top:1px;
  padding:14px 0!important;
  border-block:1px solid rgba(8,35,78,.08)!important;
  direction:rtl;
}
.tadreep-center-slide-stats>div{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start;
  gap:2px!important;
  min-width:0;
  padding:0 7px!important;
  text-align:center!important;
}
.tadreep-center-slide-stats>div+div{border-inline-start:1px solid rgba(8,35,78,.08)!important}
.tadreep-center-slide-stats .tadreep-center-stat-icon{
  width:23px!important;
  height:23px!important;
  margin-bottom:2px;
  color:#1677d2!important;
  stroke-width:1.9;
}
.tadreep-center-slide-stats .tadreep-center-stat-icon.is-star{color:#f5ad00!important}
.tadreep-center-slide-stats strong{
  display:block;
  max-width:100%;
  overflow:hidden;
  color:#0a2540!important;
  font-size:.92rem!important;
  line-height:1.3;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tadreep-center-slide-stats small{color:#7b8ca3!important;font-size:.64rem!important;line-height:1.35!important;white-space:nowrap}
.tadreep-center-slide-stats em{margin-top:1px;color:#8b9aaf!important;font-size:.56rem!important;font-style:normal!important;line-height:1.3;white-space:nowrap}
.tadreep-center-slide-footer{margin-top:auto!important;padding:0!important;border:0!important}
.tadreep-center-slide-link{
  width:100%!important;
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:10px 14px!important;
  border:1.5px solid #1778d2!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#0a2540!important;
  font-size:.86rem!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.tadreep-center-slide-link .tadreep-ui-icon{width:17px;height:17px;transform:rotate(180deg)}
.tadreep-center-slide-link:hover{background:#f4f9ff!important;border-color:#0f66b8!important;color:#0f66b8!important}
@media(max-width:639px){
  .tadreep-centers-track{grid-auto-columns:88vw!important}
  .tadreep-center-slide-card{min-height:346px;padding:15px 16px 17px;border-radius:18px;gap:12px}
  .tadreep-center-approved{min-height:31px;padding:5px 8px;font-size:.68rem}
  .tadreep-center-favorite{width:36px!important;height:36px!important;flex-basis:36px}.tadreep-center-favorite svg{width:19px;height:19px}
  .tadreep-center-slide-main{grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important}
  .tadreep-center-slide-avatar{width:72px!important;height:72px!important;flex-basis:72px!important}
  .tadreep-center-slide-copy h3{font-size:.96rem!important}.tadreep-center-slide-field{font-size:.7rem!important}.tadreep-center-slide-city{font-size:.69rem}
  .tadreep-center-slide-stats{padding:12px 0!important}.tadreep-center-slide-stats>div{padding:0 3px!important}.tadreep-center-slide-stats .tadreep-center-stat-icon{width:20px!important;height:20px!important}.tadreep-center-slide-stats strong{font-size:.8rem!important}.tadreep-center-slide-stats small{font-size:.57rem!important}.tadreep-center-slide-stats em{font-size:.51rem!important}
  .tadreep-center-slide-link{min-height:43px!important;font-size:.8rem!important}
}

/* RC91 — featured carousel + five-at-a-time all-courses landing feed. */
.tadreep-home-all-courses{padding-block:2.4rem 3rem;background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)}
.tadreep-home-all-head{justify-content:center;text-align:center;margin-bottom:22px}.tadreep-home-all-head>div{margin-inline:auto}.tadreep-home-all-head p{margin:7px 0 0;color:var(--color-text-secondary);font-size:.9rem}
.tadreep-home-course-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}.tadreep-home-feed-item{min-width:0}.tadreep-home-feed-item .tadreep-course-card{height:100%;margin:0;box-shadow:0 10px 28px rgba(8,35,78,.07);border:1px solid rgba(8,35,78,.08);border-radius:18px}.tadreep-home-feed-item[hidden]{display:none!important}.tadreep-course-feed-sentinel{height:2px;width:100%;pointer-events:none}
@media(min-width:1100px){.tadreep-home-course-feed{grid-template-columns:repeat(3,minmax(0,1fr))}.tadreep-home-feed-item:nth-child(1),.tadreep-home-feed-item:nth-child(2){grid-column:auto}}
@media(max-width:719px){.tadreep-home-all-courses{padding-block:1.7rem 2.2rem}.tadreep-home-course-feed{grid-template-columns:1fr;gap:13px}.tadreep-home-all-head{text-align:right;justify-content:flex-start}.tadreep-home-all-head>div{margin-inline:0}.tadreep-home-feed-item .tadreep-course-card{border-radius:16px}}

/* RC92 — homepage final ordering: clean featured slider, provider carousels, and compact all-course rows. */
.tadreep-home-featured-head{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  margin-block-end:18px;
}
.tadreep-home-featured-head .tadreep-section-title{margin:0}

.tadreep-home-trainers{
  overflow:hidden;
  background:linear-gradient(180deg,#f8fbfe 0%,#fff 100%);
}
.tadreep-trainers-section-head{
  margin-block-end:20px;
  text-align:right;
}
.tadreep-trainers-section-head p{
  margin:6px 0 0;
  color:var(--color-text-secondary);
  font-size:.92rem;
}
.tadreep-trainers-slider{position:relative}
.tadreep-trainers-track{
  direction:rtl;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  overscroll-behavior-inline:contain;
}
.tadreep-trainers-track::-webkit-scrollbar{display:none}
.tadreep-trainer-slide-card{scroll-snap-align:start}
.tadreep-trainer-slide-card .tadreep-center-slide-avatar img{object-fit:cover!important;padding:0!important}
.tadreep-trainer-slide-card .tadreep-center-slide-field{color:var(--color-turquoise-700);font-weight:700}
.tadreep-trainer-specialization-value{
  max-width:100%;
  font-size:.82rem!important;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tadreep-trainers-slider-controls{display:flex;justify-content:center;align-items:center;margin-top:4px}

.tadreep-home-course-rows-section{
  background:#f8fbfe;
  padding-block:2.4rem 2.8rem;
}
.tadreep-home-all-head{
  margin-block-end:18px;
  text-align:right;
}
.tadreep-home-all-head{text-align:center;align-items:center;justify-content:center}
.tadreep-home-all-head .tadreep-section-title{margin:0}
.tadreep-home-all-head p{margin:6px 0 0;color:var(--color-text-secondary);font-size:.92rem}
.tadreep-home-course-rows{display:flex;flex-direction:column;gap:12px}
.tadreep-course-row{
  position:relative;
  display:grid;
  grid-template-columns:minmax(310px,2fr) minmax(0,2.6fr) minmax(155px,.9fr);
  gap:16px;
  align-items:center;
  width:100%;
  min-height:116px;
  padding:16px 18px;
  border:1px solid rgba(8,35,78,.09);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(8,35,78,.055);
  direction:rtl;
}
.tadreep-course-row::before{
  content:"";
  position:absolute;
  inset-block-start:0;
  inset-inline:0;
  height:3px;
  border-radius:18px 18px 0 0;
  background:linear-gradient(90deg,var(--color-turquoise-500),#1677d2,var(--color-navy-800));
}
.tadreep-course-row-title{min-width:0}
.tadreep-course-row-titleline{display:flex;align-items:center;gap:8px;min-width:0}
.tadreep-course-row-title h3{margin:0;min-width:0;font-size:.96rem;line-height:1.55;color:var(--color-navy-950);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tadreep-course-row-title h3 a{color:inherit;text-decoration:none}
.tadreep-course-row-featured{flex:0 0 auto;display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border-radius:999px;background:#fff7d6;color:#8b6500;font-size:.68rem;font-weight:800;border:1px solid #f1d66a}
.tadreep-course-row-provider{display:flex;align-items:center;gap:8px;margin-top:6px;color:var(--color-text-secondary);font-size:.75rem;min-width:0}
.tadreep-course-row-provider{margin:0 0 7px;padding-block-end:8px;border-block-end:1px solid rgba(8,35,78,.09)}
.tadreep-course-row-avatar{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#f6faff;border:1px solid rgba(8,35,78,.10)}
.tadreep-course-row-avatar img,.tadreep-course-row-avatar .tadreep-provider-avatar-fallback{width:100%;height:100%;object-fit:cover;display:grid;place-items:center}
.tadreep-course-row-provider span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tadreep-course-row-provider small{flex:0 0 auto;color:#8999ad}
.tadreep-course-row-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(88px,1fr));
  align-items:stretch;
  min-width:0;
}
.tadreep-course-row-facts>span{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-width:0;
  min-height:58px;
  padding:7px 8px;
  text-align:center;
  background:#f7fbff;
  border-radius:10px;
}
.tadreep-course-row-facts>span+span{border-inline-start:0;margin-inline-start:6px}
.tadreep-course-row-facts small{font-size:.62rem;color:var(--color-text-secondary);white-space:nowrap}
.tadreep-course-row-facts strong{margin-top:4px;max-width:100%;font-size:.74rem;color:var(--color-navy-800);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tadreep-course-row-action{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0}
.tadreep-course-row-price{text-align:center;color:#0d5fa8;font-size:1rem;white-space:nowrap;padding:9px 8px;border-radius:10px;background:#eef7ff;border:1px solid #cce5fb}
.tadreep-course-row-action a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border-radius:11px;background:#1477cf;color:#fff;text-decoration:none;font-size:.76rem;font-weight:800;white-space:nowrap}
.tadreep-course-row-action a:hover{background:#0b5da8;color:#fff}
.tadreep-home-feed-item[hidden],.tadreep-course-row[hidden]{display:none!important}
.tadreep-course-feed-sentinel{height:2px;margin-top:2px}

@media(max-width:1100px){
  .tadreep-course-row{grid-template-columns:minmax(190px,1.2fr) minmax(0,2.8fr) minmax(118px,.72fr);gap:10px;padding-inline:14px}
  .tadreep-course-row-facts{grid-template-columns:repeat(4,minmax(66px,1fr));row-gap:4px}
  .tadreep-course-row-facts>span:nth-child(5){border-inline-start:0}
}
@media(max-width:767px){
  .tadreep-home-featured-head,.tadreep-trainers-section-head,.tadreep-home-all-head{text-align:right}
  .tadreep-trainers-track{grid-auto-columns:88vw}
  .tadreep-course-row{
    grid-template-columns:1fr;
    gap:10px;
    min-height:0;
    padding:14px;
    border-radius:16px;
  }
  .tadreep-course-row-title h3{font-size:.92rem}
  .tadreep-course-row-facts{grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid rgba(8,35,78,.07);padding-block:7px}
  .tadreep-course-row-facts>span{min-height:50px;padding:3px 4px}
  .tadreep-course-row-facts small{font-size:.55rem}
  .tadreep-course-row-facts strong{font-size:.66rem}
  .tadreep-course-row-action{display:grid;grid-template-columns:1fr 1fr;align-items:center}
  .tadreep-course-row-price{padding:8px;border:1px solid rgba(20,119,207,.18);border-radius:10px;background:#f5faff}
}
@media(max-width:420px){
  .tadreep-course-row-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tadreep-course-row-facts>span:nth-child(4),.tadreep-course-row-facts>span:nth-child(7){border-inline-start:0}
}
