/**
 * Olo Tutor - OloBuild Tiles CSS
 * Stili per i tile del page builder
 * Design System: CSS Custom Properties first
 */

/* === DESIGN TOKENS === */
:root {
	--ot-primary: #4a8c2a;
	--ot-primary-light: #e8f5e1;
	--ot-primary-dark: #3a7020;
	--ot-text: #1e293b;
	--ot-text-secondary: #64748b;
	--ot-text-muted: #94a3b8;
	--ot-border: #e2e8f0;
	--ot-bg: #ffffff;
	--ot-bg-subtle: #f8fafc;
	--ot-bg-hover: #f1f5f9;
	--ot-shadow-sm: 0 1px 3px rgba(0,0,0,.08);
	--ot-shadow-md: 0 4px 16px rgba(0,0,0,.08);
	--ot-shadow-lg: 0 12px 32px rgba(0,0,0,.12);
	--ot-shadow-hover: 0 8px 24px rgba(0,0,0,.1);
	--ot-radius-sm: 6px;
	--ot-radius-md: 10px;
	--ot-radius-lg: 16px;
	--ot-transition: .2s cubic-bezier(.4,0,.2,1);
}

/* === HERO TILE === */
.ot-hero { position: relative; overflow: hidden; }
.ot-hero--overlay { display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.ot-hero-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 40px; }
.ot-hero-content { position: relative; z-index: 2; max-width: 700px; }
.ot-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ot-hero-badge {
	display: inline-block; padding: 4px 14px; font-size: 12px; font-weight: 600;
	border-radius: 20px; background: rgba(255,255,255,.2); backdrop-filter: blur(8px);
	text-transform: uppercase; letter-spacing: .04em;
}
.ot-hero-badge--green { background: rgba(74,140,42,.4); }
.ot-hero-badge--outline { background: transparent; border: 1px solid rgba(255,255,255,.4); }
.ot-hero-title { margin: 0 0 12px; font-weight: 800; line-height: 1.2; }
.ot-hero-excerpt { margin: 0 0 16px; font-size: 16px; line-height: 1.6; opacity: .9; }
.ot-hero-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.ot-hero-meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.ot-hero-meta-item svg { opacity: .8; }
.ot-hero-cta {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 28px; background: var(--ot-bg); color: var(--ot-text);
	font-size: 15px; font-weight: 700; text-decoration: none;
	border-radius: var(--ot-radius-sm); transition: transform var(--ot-transition), box-shadow var(--ot-transition);
}
.ot-hero-cta:hover { transform: translateY(-2px); box-shadow: var(--ot-shadow-hover); }
.ot-hero--side { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; background: var(--ot-bg); }
.ot-hero-side-img { min-height: 300px; background-size: cover; background-position: center; }
.ot-hero-side-text { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.ot-hero--minimal { padding: 32px 0; }

/* === INFO TILE === */
.ot-info-card { background: var(--ot-bg); border: 1px solid var(--ot-border); padding: 24px; }
.ot-info-item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--ot-radius-md); transition: background var(--ot-transition); }
.ot-info-item:hover { background: var(--ot-bg-subtle); }
.ot-info-item--inline { padding: 8px 0; }
.ot-info-icon {
	width: 44px; height: 44px; border-radius: var(--ot-radius-md); display: flex;
	align-items: center; justify-content: center; flex-shrink: 0;
}
.ot-info-text { flex: 1; min-width: 0; }
.ot-info-label { font-size: 12px; font-weight: 500; color: var(--ot-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.ot-info-value { font-size: 15px; font-weight: 600; color: var(--ot-text); margin-top: 2px; }

/* === PROGRAM TILE === */
.ot-prog-acc { border: 1px solid var(--ot-border); margin-bottom: 8px; overflow: hidden; background: var(--ot-bg); }
.ot-prog-acc-head {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px; background: none; border: none; cursor: pointer; text-align: left;
	font-family: inherit; transition: background var(--ot-transition);
}
.ot-prog-acc-head:hover { background: var(--ot-bg-subtle); }
.ot-prog-acc-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ot-prog-num {
	width: 30px; height: 30px; border-radius: var(--ot-radius-sm); color: #fff; font-size: 13px; font-weight: 700;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ot-prog-mod-title { font-size: 15px; font-weight: 600; color: var(--ot-text); margin: 0; }
.ot-prog-meta { font-size: 12px; color: var(--ot-text-muted); }
.ot-prog-chevron { transition: transform var(--ot-transition); color: var(--ot-text-muted); flex-shrink: 0; }
.ot-prog-acc.open .ot-prog-chevron { transform: rotate(180deg); }
.ot-prog-acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 20px; }
.ot-prog-acc.open .ot-prog-acc-body { max-height: 1000px; padding: 0 20px 16px; }
.ot-prog-lesson {
	display: flex; align-items: center; gap: 10px; padding: 8px 12px;
	border-radius: var(--ot-radius-sm); font-size: 13px; color: var(--ot-text-secondary); transition: background .1s;
}
.ot-prog-lesson:hover { background: var(--ot-bg-hover); }
.ot-prog-lesson-icon { color: var(--ot-text-muted); flex-shrink: 0; display: flex; }
.ot-prog-timeline { position: relative; padding-left: 40px; }
.ot-prog-timeline::before {
	content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px;
	background: var(--ot-primary); opacity: .2;
}
.ot-prog-tl-item { position: relative; padding-bottom: 28px; }
.ot-prog-tl-item:last-child { padding-bottom: 0; }
.ot-prog-tl-dot {
	position: absolute; left: -40px; top: 0; width: 36px; height: 36px;
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 14px; font-weight: 700; z-index: 1;
}
.ot-prog-tl-head { margin-bottom: 12px; }
.ot-prog-tl-lessons { padding-left: 4px; }
.ot-prog-numbered-item { display: flex; gap: 20px; padding: 20px; border: 1px solid var(--ot-border); margin-bottom: 8px; background: var(--ot-bg); }
.ot-prog-numbered-num { font-size: 32px; font-weight: 800; opacity: .3; line-height: 1; flex-shrink: 0; }
.ot-prog-numbered-content { flex: 1; }
.ot-prog-numbered-lessons { margin-top: 10px; }

/* === ENROLL TILE === */
.ot-enroll-card { background: var(--ot-bg); border: 1px solid var(--ot-border); padding: 28px; text-align: center; }
.ot-enroll-price { font-size: 36px; font-weight: 800; color: var(--ot-text); margin-bottom: 16px; }
.ot-enroll-price--free { color: var(--ot-primary); font-size: 24px; }
.ot-enroll-spots { margin-bottom: 20px; text-align: left; }
.ot-enroll-spots-header { display: flex; justify-content: space-between; font-size: 13px; color: var(--ot-text-secondary); margin-bottom: 6px; }
.ot-enroll-bar { height: 6px; background: var(--ot-border); border-radius: 3px; overflow: hidden; }
.ot-enroll-bar-fill { height: 100%; border-radius: 3px; transition: width .5s ease; }
.ot-enroll-dates { margin-bottom: 20px; font-size: 13px; color: var(--ot-text-secondary); display: flex; flex-direction: column; gap: 6px; text-align: left; }
.ot-enroll-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 32px; font-size: 16px; font-weight: 700; text-decoration: none;
	transition: transform var(--ot-transition), box-shadow var(--ot-transition); width: 100%;
}
.ot-enroll-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74,140,42,.3); }
.ot-enroll-guarantee {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: 16px; font-size: 12px; color: var(--ot-text-muted);
}
.ot-enroll-banner { display: flex; align-items: center; justify-content: space-between; padding: 24px 32px; gap: 24px; flex-wrap: wrap; }
.ot-enroll-banner .ot-enroll-price { font-size: 24px; margin: 0; }
.ot-enroll-banner .ot-enroll-btn { width: auto; }

/* === GRID TILE === */
.ot-grid-card { background: var(--ot-bg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--ot-transition), box-shadow var(--ot-transition); }
.ot-grid-card:hover { transform: translateY(-4px); }
.ot-grid-card--shadow { box-shadow: var(--ot-shadow-sm); }
.ot-grid-card--shadow:hover { box-shadow: var(--ot-shadow-lg); }
.ot-grid-card--border { border: 1px solid var(--ot-border); }
.ot-grid-card--border:hover { border-color: var(--ot-primary); }
.ot-grid-card--flat { background: var(--ot-bg-subtle); }
.ot-grid-card--flat:hover { background: var(--ot-bg-hover); }
.ot-grid-img { position: relative; height: 200px; overflow: hidden; }
.ot-grid-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ot-grid-card:hover .ot-grid-img img { transform: scale(1.05); }
.ot-grid-img--placeholder { display: flex; align-items: center; justify-content: center; height: 200px; }
.ot-grid-badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; font-size: 11px; font-weight: 600; color: #fff; border-radius: 20px; text-transform: uppercase; letter-spacing: .04em; }
.ot-grid-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.ot-grid-cats { font-size: 11px; font-weight: 600; color: var(--ot-primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.ot-grid-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.ot-grid-title a { color: var(--ot-text); text-decoration: none; transition: color var(--ot-transition); }
.ot-grid-title a:hover { color: var(--ot-primary); }
.ot-grid-excerpt { font-size: 14px; color: var(--ot-text-secondary); line-height: 1.5; margin: 0 0 12px; flex: 1; }
.ot-grid-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ot-text-muted); padding-top: 12px; border-top: 1px solid var(--ot-bg-hover); }
.ot-grid-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ot-grid-cta {
	display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
	text-decoration: none; margin-top: 14px; transition: gap var(--ot-transition);
}
.ot-grid-cta:hover { gap: 10px; }

/* === TEACHER TILE === */
.ot-teacher-card {
	background: var(--ot-bg); border: 1px solid var(--ot-border); padding: 32px;
	display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.ot-teacher-horiz {
	background: var(--ot-bg); border: 1px solid var(--ot-border); padding: 28px;
	display: flex; gap: 24px; align-items: flex-start;
}
.ot-teacher-horiz-body { flex: 1; }
.ot-teacher-name { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: var(--ot-text); }
.ot-teacher-role { font-size: 14px; font-weight: 500; display: block; margin-bottom: 12px; }
.ot-teacher-bio { font-size: 14px; color: var(--ot-text-secondary); line-height: 1.6; margin: 0 0 16px; }
.ot-teacher-stats { display: flex; gap: 24px; margin-bottom: 12px; }
.ot-teacher-stat { display: flex; flex-direction: column; align-items: center; }
.ot-teacher-stat-num { font-size: 24px; font-weight: 800; line-height: 1; }
.ot-teacher-stat-label { font-size: 12px; color: var(--ot-text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: .04em; }
.ot-teacher-socials { display: flex; gap: 8px; }
.ot-teacher-social {
	width: 36px; height: 36px; border-radius: 50%; display: flex;
	align-items: center; justify-content: center; text-decoration: none;
	transition: background var(--ot-transition);
}
.ot-teacher-social:hover { background: var(--ot-bg-hover); }

/* === FAQ TILE === */
.ot-faq-heading { font-size: 28px; font-weight: 800; color: var(--ot-text); margin: 0 0 24px; }
.ot-faq-item { border: 1px solid var(--ot-border); overflow: hidden; background: var(--ot-bg); transition: box-shadow var(--ot-transition); }
.ot-faq-item:hover { box-shadow: var(--ot-shadow-sm); }
.ot-faq-question {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px; background: none; border: none; cursor: pointer;
	text-align: left; font-family: inherit; font-size: 15px; font-weight: 600;
	color: var(--ot-text); transition: background var(--ot-transition); gap: 12px;
}
.ot-faq-question:hover { background: var(--ot-bg-subtle); }
.ot-faq-q-left { display: flex; align-items: center; gap: 12px; flex: 1; }
.ot-faq-num { font-weight: 700; font-size: 14px; flex-shrink: 0; }
.ot-faq-chevron { transition: transform var(--ot-transition); color: var(--ot-text-muted); flex-shrink: 0; }
.ot-faq-item.open .ot-faq-chevron { transform: rotate(180deg); }
.ot-faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ot-faq-item.open .ot-faq-answer { max-height: 500px; }
.ot-faq-answer-inner { padding: 0 20px 16px; font-size: 14px; color: var(--ot-text-secondary); line-height: 1.7; }
.ot-faq-card { background: var(--ot-bg); border: 1px solid var(--ot-border); padding: 20px; transition: transform var(--ot-transition), box-shadow var(--ot-transition); }
.ot-faq-card:hover { transform: translateY(-2px); box-shadow: var(--ot-shadow-md); }
.ot-faq-card-q { margin: 8px 0 8px; font-size: 16px; font-weight: 600; color: var(--ot-text); }
.ot-faq-card-a { font-size: 14px; color: var(--ot-text-secondary); line-height: 1.6; }
.ot-faq-details { border: 1px solid var(--ot-border); background: var(--ot-bg); }
.ot-faq-summary {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px; cursor: pointer; font-size: 15px; font-weight: 600;
	color: var(--ot-text); list-style: none; gap: 12px;
}
.ot-faq-summary::-webkit-details-marker { display: none; }
.ot-faq-details[open] .ot-faq-chevron { transform: rotate(180deg); }
/* FAQ minimal style */
.ot-faq-minimal { padding: 16px 0; border-bottom: 1px solid var(--ot-border); }
.ot-faq-minimal:last-child { border-bottom: none; }
.ot-faq-minimal-q { font-size: 15px; font-weight: 600; color: var(--ot-text); cursor: pointer; display: flex; align-items: center; gap: 12px; background: none; border: none; width: 100%; text-align: left; font-family: inherit; padding: 0; }
.ot-faq-minimal-a { font-size: 14px; color: var(--ot-text-secondary); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height .3s, margin .3s; margin: 0; }
.ot-faq-minimal.open .ot-faq-minimal-a { max-height: 500px; margin-top: 10px; }
.ot-faq-minimal.open .ot-faq-chevron { transform: rotate(180deg); }

/* === STATS TILE === */
.ot-stat-card {
	background: var(--ot-bg); border: 1px solid var(--ot-border); padding: 28px 20px;
	transition: transform var(--ot-transition), box-shadow var(--ot-transition);
}
.ot-stat-card:hover { transform: translateY(-4px); box-shadow: var(--ot-shadow-hover); }
.ot-stat-icon { margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.ot-stat-icon--circle { width: 56px; height: 56px; border-radius: 50%; }
.ot-stat-number { font-size: 36px; font-weight: 800; color: var(--ot-text); line-height: 1; margin-bottom: 6px; }
.ot-stat-label { font-size: 13px; color: var(--ot-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.ot-stat-divider { width: 1px; background: var(--ot-border); align-self: stretch; }
.ot-stats-inline .ot-stat-item { text-align: center; }

/* === CATEGORIES TILE === */
.ot-cat-card {
	position: relative; min-height: 180px; background: linear-gradient(135deg, var(--ot-primary), var(--ot-primary-dark, #3a7020));
	display: flex; text-decoration: none; color: #fff; overflow: hidden;
	transition: transform var(--ot-transition), box-shadow var(--ot-transition);
}
.ot-cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(74,140,42,.2); }
.ot-cat-card-overlay {
	position: absolute; inset: 0; background: rgba(0,0,0,.35);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 20px; gap: 10px;
}
.ot-cat-icon {
	width: 48px; height: 48px; border-radius: var(--ot-radius-md); display: flex;
	align-items: center; justify-content: center; flex-shrink: 0;
}
.ot-cat-card .ot-cat-icon { background: rgba(255,255,255,.15); color: #fff; }
.ot-cat-name { font-size: 18px; font-weight: 700; }
.ot-cat-count { font-size: 13px; opacity: .8; }
.ot-cat-pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px;
	background: var(--ot-bg); text-decoration: none; color: var(--ot-text);
	font-size: 14px; font-weight: 600; transition: background var(--ot-transition), transform var(--ot-transition);
}
.ot-cat-pill:hover { background: var(--ot-bg-subtle); transform: translateY(-2px); }
.ot-cat-pill .ot-cat-icon { width: 32px; height: 32px; border-radius: var(--ot-radius-sm); }
.ot-cat-pill .ot-cat-count { font-size: 12px; color: var(--ot-text-muted); font-weight: 400; }
.ot-cat-list-item {
	display: flex; align-items: center; gap: 14px; padding: 14px 18px;
	background: var(--ot-bg); border: 1px solid var(--ot-border); text-decoration: none; color: var(--ot-text);
	transition: background var(--ot-transition);
}
.ot-cat-list-item:hover { background: var(--ot-bg-subtle); }
.ot-cat-list-text { flex: 1; }
.ot-cat-list-text .ot-cat-name { font-size: 15px; font-weight: 600; display: block; }
.ot-cat-list-text .ot-cat-count { font-size: 12px; color: var(--ot-text-muted); }

/* === COUNTDOWN TILE === */
.ot-cd-title { font-size: 15px; color: var(--ot-text-secondary); margin-bottom: 20px; }
.ot-cd-title strong { color: var(--ot-text); }
.ot-cd-units { display: flex; justify-content: center; gap: 12px; align-items: center; }
.ot-cd-unit { padding: 16px 20px; text-align: center; min-width: 80px; }
.ot-cd-num { font-size: 40px; font-weight: 800; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.ot-cd-label { font-size: 12px; color: var(--ot-text-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; display: block; }
.ot-cd-sep { font-size: 32px; font-weight: 700; opacity: .4; line-height: 1; }
.ot-cd-inline { font-size: 28px; font-weight: 700; letter-spacing: 2px; }
.ot-cd-inline span { font-variant-numeric: tabular-nums; }
.ot-cd-expired { animation: ot-pulse 1.5s ease infinite; }
.ot-cd-small .ot-cd-num { font-size: 24px; }
.ot-cd-small .ot-cd-unit { padding: 10px 12px; min-width: 56px; }
.ot-cd-medium .ot-cd-num { font-size: 32px; }
@keyframes ot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }

/* === FEATURES TILE === */
.ot-feat-heading { font-size: 28px; font-weight: 800; color: var(--ot-text); margin: 0 0 24px; }
.ot-feat-item {
	display: flex; align-items: flex-start; gap: 12px; padding: 14px;
	background: var(--ot-bg-subtle); transition: background var(--ot-transition);
}
.ot-feat-item:hover { background: var(--ot-bg-hover); }
.ot-feat-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding-top: 2px; }
.ot-feat-text { font-size: 14px; color: var(--ot-text-secondary); line-height: 1.5; }
.ot-feat-card {
	background: var(--ot-bg); border: 1px solid var(--ot-border); padding: 20px;
	transition: transform var(--ot-transition), box-shadow var(--ot-transition);
}
.ot-feat-card:hover { transform: translateY(-2px); box-shadow: var(--ot-shadow-md); }
.ot-feat-card .ot-feat-icon { width: 40px; height: 40px; border-radius: var(--ot-radius-md); margin-bottom: 10px; }
.ot-feat-card-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--ot-text); }
.ot-feat-list-item { display: flex; align-items: center; gap: 10px; }
/* Features minimal */
.ot-feat-minimal { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0 12px 16px; border-left: 2px solid var(--ot-primary); }
.ot-feat-minimal + .ot-feat-minimal { margin-top: 8px; }

/* === TESTIMONIALS TILE === */
.ot-test-heading { font-size: 28px; font-weight: 800; color: var(--ot-text); margin: 0 0 24px; }
.ot-test-card {
	background: var(--ot-bg); border: 1px solid var(--ot-border); padding: 24px; position: relative;
	transition: transform var(--ot-transition), box-shadow var(--ot-transition);
}
.ot-test-card:hover { transform: translateY(-4px); box-shadow: var(--ot-shadow-hover); }
.ot-test-quote-icon { position: absolute; top: 16px; right: 20px; }
.ot-test-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.ot-test-text { font-size: 14px; color: var(--ot-text-secondary); line-height: 1.7; margin: 0 0 16px; font-style: italic; }
.ot-test-author { display: flex; align-items: center; gap: 10px; }
.ot-test-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.ot-test-avatar--initials {
	display: flex; align-items: center; justify-content: center;
	font-size: 16px; font-weight: 700;
}
.ot-test-author-info { flex: 1; }
.ot-test-name { font-size: 14px; color: var(--ot-text); display: block; }
.ot-test-role { font-size: 12px; color: var(--ot-text-muted); display: block; }
.ot-test-date { font-size: 11px; color: var(--ot-text-muted); flex-shrink: 0; }
.ot-test-minimal { background: var(--ot-bg); padding: 20px; }
.ot-test-minimal .ot-test-text { margin: 8px 0 12px; }
/* Testimonial bubble style */
.ot-test-bubble { background: var(--ot-bg); border: 1px solid var(--ot-border); padding: 24px 24px 16px; position: relative; }
.ot-test-bubble::after {
	content: ''; position: absolute; bottom: -10px; left: 32px;
	width: 20px; height: 20px; background: var(--ot-bg);
	border-right: 1px solid var(--ot-border); border-bottom: 1px solid var(--ot-border);
	transform: rotate(45deg);
}
.ot-test-bubble-author { margin-top: 16px; display: flex; align-items: center; gap: 10px; }

/* === ANIMATED COUNTER (JS) === */
[data-ot-animate="counter"] { font-variant-numeric: tabular-nums; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
	.ot-hero--side { grid-template-columns: 1fr; }
	.ot-hero-side-img { min-height: 200px; }
	.ot-hero-overlay { padding: 24px; }
	.ot-hero-title { font-size: 24px !important; }
	.ot-course-grid { grid-template-columns: 1fr !important; }
	.ot-enroll-banner { flex-direction: column; text-align: center; }
	.ot-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
	.ot-cat-grid { grid-template-columns: repeat(2, 1fr) !important; }
	.ot-feat-grid { grid-template-columns: 1fr !important; }
	.ot-test-grid { grid-template-columns: 1fr !important; }
	.ot-teacher-horiz { flex-direction: column; }
	.ot-cd-units { gap: 6px; }
	.ot-cd-unit { min-width: 60px; padding: 10px 8px; }
	.ot-cd-num { font-size: 24px; }
}
@media (max-width: 480px) {
	.ot-hero-meta { flex-direction: column; gap: 8px; }
	.ot-stats-grid { grid-template-columns: 1fr !important; }
	.ot-cat-grid { grid-template-columns: 1fr !important; }
}
