/* ==========================================================================
   Techno Envio Neon — main stylesheet
   Palette: Neon Lagoon (void / cobalt / electric cyan / aqua flash / glow white)
   ========================================================================== */

:root {
	--void: #030d1f;
	--deep: #051329;
	--panel: #0a1a38;
	--panel-2: #0d2149;
	--line: rgba(0, 217, 248, .14);
	--line-strong: rgba(0, 217, 248, .32);
	--cobalt: #1f5bff;
	--cyan: #00d9f8;
	--aqua: #40fff0;
	--glow: #ebfffc;
	--text: #c9d8ee;
	--muted: #8aa1c2;
	--grad: linear-gradient(120deg, var(--aqua) 0%, var(--cyan) 40%, var(--cobalt) 100%);
	--shadow-neon: 0 0 0 1px rgba(0, 217, 248, .35), 0 0 24px rgba(0, 217, 248, .25), 0 0 60px rgba(31, 91, 255, .2);
	--radius: 18px;
	--radius-sm: 12px;
	--f-head: "Space Grotesk", "Cairo", system-ui, sans-serif;
	--f-body: "Inter", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, monospace;
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

:lang(ar) { --f-head: "Cairo", "Space Grotesk", sans-serif; --f-body: "Cairo", "Inter", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--void);
	color: var(--text);
	font: 400 1.0625rem/1.75 var(--f-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--aqua); }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); color: var(--glow); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
::selection { background: var(--cyan); color: var(--void); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; inset-block-start: 10px; inset-inline-start: 10px; padding: 10px 16px; background: var(--cyan); color: var(--void); }

/* ---------- Background ---------- */
.te-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.te-bg__grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(0, 217, 248, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 217, 248, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}
.te-bg__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.te-bg__glow--a { width: 620px; height: 620px; inset-block-start: -220px; inset-inline-end: -160px; background: radial-gradient(circle, rgba(31, 91, 255, .55), transparent 70%); }
.te-bg__glow--b { width: 520px; height: 520px; inset-block-start: 40vh; inset-inline-start: -260px; background: radial-gradient(circle, rgba(0, 217, 248, .25), transparent 70%); }

/* ---------- Layout ---------- */
.te-container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.te-container--mid { width: min(900px, 100% - 40px); }
.te-main { min-height: 60vh; }
.te-section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.te-section--tight { padding-block: 48px 96px; }
.te-section--alt { background: linear-gradient(180deg, rgba(10, 26, 56, .55), rgba(5, 19, 41, .35)); border-block: 1px solid var(--line); }
.te-section__head { max-width: 720px; margin-block-end: 48px; }
.te-section__head--center { margin-inline: auto; text-align: center; }
.te-section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.te-section__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; margin-block-end: .35em; }
.te-section__title--sm { font-size: 1.6rem; }
.te-section__lead { color: var(--muted); font-size: 1.12rem; margin: 0; }
.te-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.te-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }

/* ---------- Typography helpers ---------- */
.te-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 500 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .18em;
	color: var(--cyan); margin-block-end: 18px;
}
:lang(ar) .te-eyebrow { letter-spacing: 0; font-family: var(--f-body); font-size: .9rem; }
.te-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 12px var(--aqua); animation: te-blink 2s infinite; }
.te-neon { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(0, 217, 248, .35)); }
.te-badge { padding: 6px 12px; border-radius: 99px; background: rgba(64, 255, 240, .1); border: 1px solid rgba(64, 255, 240, .4); color: var(--aqua); }
.te-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-family: var(--f-head); }
.te-link .te-icon { transition: transform .25s var(--ease); }
.te-link:hover .te-icon { transform: translateX(4px); }
[dir="rtl"] .te-link .te-icon--arrow, [dir="rtl"] .te-btn .te-icon--arrow, [dir="rtl"] .te-icon--arrow-l { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.te-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px; border-radius: 99px; border: 1px solid var(--line-strong);
	font: 600 1rem/1 var(--f-head); color: var(--glow); background: rgba(10, 26, 56, .7);
	cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
	white-space: nowrap;
}
.te-btn:hover { color: var(--glow); transform: translateY(-2px); border-color: var(--cyan); box-shadow: 0 0 22px rgba(0, 217, 248, .25); }
.te-btn--glow { background: var(--grad); color: var(--void); border: 0; box-shadow: 0 8px 30px rgba(0, 217, 248, .35), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.te-btn--glow:hover { color: var(--void); box-shadow: 0 10px 40px rgba(0, 217, 248, .55), 0 0 60px rgba(64, 255, 240, .3); }
.te-btn--ghost { background: transparent; }
.te-btn--sm { padding: 10px 18px; font-size: .9rem; }
.te-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(10, 26, 56, .6); color: var(--glow); cursor: pointer; transition: .2s; }
.te-iconbtn:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px rgba(0, 217, 248, .25); }

/* ---------- Header ---------- */
.te-header {
	position: sticky; inset-block-start: 0; z-index: 100;
	border-block-end: 1px solid transparent; transition: border-color .3s;
}
/* Blur lives on a pseudo-element so the fixed mobile menu is not trapped inside the header box */
.te-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(3, 13, 31, .55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: background .3s; }
.te-header.is-scrolled::before { background: rgba(3, 13, 31, .88); }
.admin-bar .te-header { inset-block-start: 32px; }
.te-header.is-scrolled { border-color: var(--line); }
.te-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.te-brand img, .te-brand .custom-logo { display: block; height: 58px; width: auto; }
.te-nav { margin-inline-start: auto; }
.te-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.te-menu > li { position: relative; display: flex; align-items: center; }
.te-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); font: 500 .96rem/1.2 var(--f-head); }
.te-menu > li > a:hover, .te-menu > .current-menu-item > a, .te-menu > .current-menu-ancestor > a, .te-menu > .current-category-ancestor > a { color: var(--glow); background: rgba(0, 217, 248, .08); }
.te-menu > .current-menu-item > a, .te-menu > .current-menu-ancestor > a { box-shadow: inset 0 -2px 0 var(--cyan); }
.te-sub-toggle { display: none; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; }
.te-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-3px); opacity: .7; }
.te-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px; position: absolute; inset-block-start: calc(100% + 10px); inset-inline-start: 0; min-width: 250px;
	background: rgba(8, 22, 48, .97); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(0, 217, 248, .08);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--ease);
}
.te-menu .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.te-menu li:hover > .sub-menu, .te-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.te-menu .sub-menu a { padding: 10px 14px; font-size: .93rem; color: var(--text); }
.te-menu .sub-menu a:hover { background: rgba(0, 217, 248, .1); color: var(--aqua); }
.te-header__actions { display: flex; align-items: center; gap: 10px; }
.te-burger { display: none; }
.te-progress { position: absolute; inset-inline: 0; inset-block-end: -1px; height: 2px; }
.te-progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--cyan); }

/* ---------- Search overlay ---------- */
.te-search { position: fixed; inset: 0; z-index: 200; background: rgba(3, 13, 31, .9); backdrop-filter: blur(12px); display: grid; place-items: start center; padding: 14vh 20px 20px; }
.te-search[hidden] { display: none; }
.te-search__panel { width: min(760px, 100%); position: relative; animation: te-pop .3s var(--ease); }
.te-search__hints { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 18px; }
.te-search__hints a { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.te-search__hints a:hover { border-color: var(--cyan); color: var(--aqua); }
.te-search-close { position: absolute; inset-block-start: -64px; inset-inline-end: 0; }

.te-searchform, .te-hero__search {
	display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; padding-inline: 20px 8px;
	background: rgba(10, 26, 56, .8); border: 1px solid var(--line-strong); border-radius: 99px; transition: .25s;
}
.te-searchform:focus-within, .te-hero__search:focus-within { border-color: var(--cyan); box-shadow: var(--shadow-neon); }
.te-searchform .te-icon, .te-hero__search .te-icon { color: var(--cyan); flex: none; }
.te-searchform input, .te-hero__search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--glow); font: 400 1.05rem var(--f-body); padding: 10px 0; }
.te-searchform input::placeholder, .te-hero__search input::placeholder { color: var(--muted); }

/* ---------- Hero ---------- */
.te-hero { padding-block: clamp(48px, 8vw, 96px) 40px; position: relative; }
.te-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.te-hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; margin-block-end: 24px; }
.te-hero__title .te-neon { display: block; }
.te-hero__text { font-size: 1.18rem; color: var(--text); max-width: 600px; margin-block-end: 32px; }
.te-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block-end: 32px; }
.te-hero__search { max-width: 560px; }
.te-hero__visual { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; }
.te-circuit { width: 100%; height: 100%; }
.te-circuit__pulse path { stroke-dasharray: 60 600; animation: te-flow 4.5s linear infinite; }
.te-circuit__pulse path:nth-child(2) { animation-delay: -.8s; }
.te-circuit__pulse path:nth-child(3) { animation-delay: -1.6s; }
.te-circuit__pulse path:nth-child(4) { animation-delay: -2.4s; }
.te-circuit__pulse path:nth-child(5) { animation-delay: -3.2s; }
.te-circuit__pulse path:nth-child(6) { animation-delay: -4s; }
.te-chip {
	position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px;
	background: rgba(10, 26, 56, .85); border: 1px solid var(--line-strong); color: var(--glow); font: 500 .9rem var(--f-head);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35); backdrop-filter: blur(8px); animation: te-float 6s ease-in-out infinite;
}
.te-chip .te-icon { color: var(--aqua); }
.te-chip--a { inset-block-start: 14%; inset-inline-start: -4%; }
.te-chip--b { inset-block-start: 46%; inset-inline-end: -6%; animation-delay: -2s; }
.te-chip--c { inset-block-end: 6%; inset-inline-start: 10%; animation-delay: -4s; }

.te-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 26, 56, .5); overflow: hidden; }
.te-stat { padding: 26px 28px; border-inline-start: 1px solid var(--line); }
.te-stat:first-child { border-inline-start: 0; }
.te-stat dt { color: var(--muted); font-size: .88rem; order: 2; }
.te-stat dd { margin: 0 0 4px; font: 700 2.4rem/1.1 var(--f-head); color: var(--glow); text-shadow: 0 0 22px rgba(0, 217, 248, .45); }
.te-stat { display: flex; flex-direction: column-reverse; }

/* ---------- Disciplines ---------- */
.te-disc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.te-disc__card {
	position: relative; padding: 32px; border-radius: 22px; background: linear-gradient(180deg, rgba(13, 33, 73, .8), rgba(8, 22, 48, .8));
	border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.te-disc__card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; }
.te-disc__card::after { content: ""; position: absolute; width: 240px; height: 240px; inset-block-start: -120px; inset-inline-end: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 217, 248, .25), transparent 70%); transition: .4s; }
.te-disc__card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 40px rgba(0, 217, 248, .15); }
.te-disc__card:hover::before { opacity: 1; }
.te-disc__card:hover::after { transform: scale(1.4); }
.te-disc__top { display: flex; align-items: center; justify-content: space-between; margin-block-end: 26px; position: relative; z-index: 1; }
.te-disc__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; color: var(--aqua); background: rgba(0, 217, 248, .08); border: 1px solid var(--line-strong); box-shadow: inset 0 0 20px rgba(0, 217, 248, .12); }
.te-disc__code { font: 500 .75rem var(--f-mono); color: var(--muted); letter-spacing: .1em; }
.te-disc__title { font-size: 1.9rem; margin-block-end: 12px; position: relative; z-index: 1; }
.te-disc__title a { color: var(--glow); }
.te-disc__title a::after { content: ""; position: absolute; inset: 0; }
.te-disc__desc { color: var(--muted); position: relative; z-index: 1; }
.te-disc__topics { list-style: none; margin: 4px 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.te-disc__topics a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; background: rgba(3, 13, 31, .6); border: 1px solid var(--line); color: var(--text); font-size: .86rem; }
.te-disc__topics a:hover { border-color: var(--cyan); color: var(--aqua); }
.te-disc__topics small { color: var(--cyan); font-family: var(--f-mono); font-size: .72rem; }
.te-disc__card .te-link { margin-block-start: auto; position: relative; z-index: 2; }

/* ---------- Cards ---------- */
.te-card { display: flex; flex-direction: column; border-radius: var(--radius); background: rgba(10, 26, 56, .65); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; position: relative; }
.te-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 0 30px rgba(0, 217, 248, .12); }
.te-card__thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--panel); position: relative; }
.te-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(3, 13, 31, .7)); }
.te-thumb__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.te-card:hover .te-thumb__img { transform: scale(1.06); }
.te-thumb__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--cyan); background: radial-gradient(circle at 50% 50%, rgba(0, 217, 248, .18), transparent 60%), linear-gradient(rgba(0, 217, 248, .06) 1px, transparent 1px) 0 0/24px 24px, linear-gradient(90deg, rgba(0, 217, 248, .06) 1px, transparent 1px) 0 0/24px 24px, var(--panel); }
.te-thumb__ph .te-icon { filter: drop-shadow(0 0 12px var(--cyan)); }
.te-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.te-card__title { font-size: 1.22rem; line-height: 1.35; margin: 12px 0 10px; }
.te-card__title a { color: var(--glow); }
.te-card__title a::after { content: ""; position: absolute; inset: 0; }
.te-card__title a:hover { color: var(--aqua); }
.te-card__excerpt { color: var(--muted); font-size: .96rem; line-height: 1.6; margin-block-end: 18px; }
.te-tag { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 8px; background: rgba(0, 217, 248, .1); border: 1px solid rgba(0, 217, 248, .25); color: var(--cyan); font: 500 .78rem var(--f-mono); letter-spacing: .02em; }
.te-tag:hover { color: var(--aqua); border-color: var(--aqua); }
.te-tag--lg { font-size: .85rem; padding: 7px 14px; margin-block-end: 20px; }
.te-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-block-start: auto; color: var(--muted); font-size: .85rem; }
.te-meta span { display: inline-flex; align-items: center; gap: 6px; }
.te-meta .te-icon { color: var(--cyan); }
.te-meta--lg { font-size: .95rem; gap: 22px; }

/* ---------- Course ---------- */
.te-course { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.te-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.te-checks li { display: flex; gap: 12px; align-items: flex-start; }
.te-checks .te-icon { color: var(--aqua); flex: none; margin-block-start: 4px; }
.te-lectures { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.te-lecture a { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 16px; background: rgba(10, 26, 56, .7); border: 1px solid var(--line); color: var(--text); transition: .3s var(--ease); }
.te-lecture a:hover { border-color: var(--cyan); transform: translateX(6px); box-shadow: 0 0 30px rgba(0, 217, 248, .15); }
[dir="rtl"] .te-lecture a:hover { transform: translateX(-6px); }
.te-lecture__num { font: 700 1.5rem var(--f-mono); color: transparent; -webkit-text-stroke: 1px var(--cyan); min-width: 44px; }
.te-lecture a:hover .te-lecture__num { color: var(--cyan); text-shadow: 0 0 14px var(--cyan); }
.te-lecture__body { flex: 1; display: grid; gap: 4px; }
.te-lecture__body strong { color: var(--glow); font-family: var(--f-head); font-weight: 600; line-height: 1.35; }
.te-lecture__body small { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.te-lecture__play { color: var(--cyan); }
.te-lecture--empty { padding: 22px; border: 1px dashed var(--line-strong); border-radius: 16px; color: var(--muted); }

/* ---------- Learning path ---------- */
.te-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.te-path__step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(10, 26, 56, .6); border: 1px solid var(--line); }
.te-path__step > .te-icon { color: var(--aqua); margin-block-end: 16px; filter: drop-shadow(0 0 8px rgba(64, 255, 240, .5)); }
.te-path__step h3 { font-size: 1.15rem; margin-block-end: 8px; }
.te-path__step p { color: var(--muted); font-size: .95rem; margin: 0; }
.te-path__n { position: absolute; inset-block-start: 22px; inset-inline-end: 22px; font: 500 .8rem var(--f-mono); color: var(--cyan); opacity: .7; }

/* ---------- Instructor ---------- */
.te-instructor { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.te-instructor__media { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.te-instructor__role { color: var(--cyan); font: 500 1.05rem var(--f-head); margin-block-end: 20px; }
.te-instructor__years { position: absolute; inset-block-end: 8%; inset-inline-end: -4%; padding: 16px 20px; border-radius: 16px; background: rgba(8, 22, 48, .92); border: 1px solid var(--line-strong); box-shadow: var(--shadow-neon); display: grid; max-width: 170px; }
.te-instructor__years strong { font: 700 2.2rem/1 var(--f-head); color: var(--aqua); text-shadow: 0 0 18px var(--aqua); }
.te-instructor__years span { font-size: .82rem; color: var(--text); line-height: 1.35; margin-block-start: 4px; }
.te-portrait { position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 35%, rgba(0, 217, 248, .25), transparent 60%), var(--panel); border: 1px solid var(--line-strong); display: grid; place-items: center; }
.te-portrait__img { width: 100%; height: 100%; object-fit: cover; }
.te-portrait__mono { font: 700 clamp(4rem, 10vw, 7rem)/1 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(0, 217, 248, .5)); }
.te-portrait__ring { position: absolute; inset: 14px; border-radius: 20px; border: 1px dashed rgba(64, 255, 240, .25); pointer-events: none; }
.te-portrait--sm { width: 88px; height: 88px; aspect-ratio: 1; border-radius: 22px; flex: none; }
.te-portrait--sm .te-portrait__mono { font-size: 2rem; }
.te-portrait--sm .te-portrait__ring { inset: 5px; border-radius: 16px; }
.te-quote { margin: 0 0 22px; padding: 18px 24px; border-inline-start: 3px solid var(--cyan); background: linear-gradient(90deg, rgba(0, 217, 248, .08), transparent); border-radius: 0 14px 14px 0; color: var(--glow); font: 500 1.15rem/1.6 var(--f-head); }
[dir="rtl"] .te-quote { border-radius: 14px 0 0 14px; background: linear-gradient(270deg, rgba(0, 217, 248, .08), transparent); }

/* ---------- Audience ---------- */
.te-audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.te-audience__item { padding: 28px; border-radius: var(--radius); background: rgba(10, 26, 56, .55); border: 1px solid var(--line); transition: .3s; }
.te-audience__item:hover { border-color: var(--line-strong); background: rgba(13, 33, 73, .7); }
.te-audience__item .te-icon { color: var(--aqua); margin-block-end: 14px; }
.te-audience__item h3 { font-size: 1.15rem; }
.te-audience__item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- CTA ---------- */
.te-cta { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: radial-gradient(circle at 100% 0%, rgba(31, 91, 255, .45), transparent 55%), radial-gradient(circle at 0% 100%, rgba(0, 217, 248, .25), transparent 55%), var(--panel); border: 1px solid var(--line-strong); box-shadow: 0 0 60px rgba(0, 217, 248, .1); }
.te-cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 640px; }
.te-cta p { color: var(--text); margin: 0; max-width: 620px; }
.te-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page heads ---------- */
.te-pagehead { padding-block: 48px 40px; border-block-end: 1px solid var(--line); background: linear-gradient(180deg, rgba(13, 33, 73, .35), transparent); }
.te-pagehead__row { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.te-pagehead__title { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; margin-block-end: 14px; }
.te-pagehead__lead { color: var(--muted); font-size: 1.12rem; max-width: 720px; }
.te-pagehead__lead p { margin: 0; }
.te-pagehead__count { font: 500 .85rem var(--f-mono); color: var(--cyan); margin: 0; }
.te-pagehead__icon { flex: none; display: grid; place-items: center; width: 140px; height: 140px; border-radius: 32px; color: var(--aqua); background: rgba(0, 217, 248, .06); border: 1px solid var(--line-strong); box-shadow: inset 0 0 40px rgba(0, 217, 248, .15), 0 0 40px rgba(0, 217, 248, .1); }
.te-pagehead__icon .te-icon { filter: drop-shadow(0 0 14px var(--aqua)); }
.te-pagehead__search { max-width: 620px; margin-block-start: 20px; }
.te-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin-block-end: 22px; }
.te-crumbs a { color: var(--muted); }
.te-crumbs a:hover { color: var(--aqua); }
.te-crumbs__sep { opacity: .4; }
.te-crumbs [aria-current] { color: var(--text); }
.te-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 26px; }
.te-chips--center { justify-content: center; }
.te-chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(10, 26, 56, .6); color: var(--text); font: 500 .9rem var(--f-head); transition: .2s; }
.te-chip-link:hover, .te-chip-link.is-active { border-color: var(--cyan); color: var(--void); background: var(--cyan); box-shadow: 0 0 20px rgba(0, 217, 248, .35); }

/* ---------- Article ---------- */
.te-article__head { padding-block: 48px 32px; }
.te-article__title { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.02em; line-height: 1.12; margin-block-end: 22px; }
.te-article__cover { margin: 0 0 8px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.te-article__cover img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.te-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-block: 40px 80px; }
.te-article__main { min-width: 0; max-width: 800px; }
.te-sticky { position: sticky; inset-block-start: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.admin-bar .te-sticky { inset-block-start: calc(var(--header-h) + 56px); }
.te-toc { padding: 22px; border-radius: var(--radius); background: rgba(10, 26, 56, .65); border: 1px solid var(--line); max-height: 60vh; overflow: auto; }
.te-toc__title { width: 100%; background: none; border: 0; padding: 0; cursor: default; display: flex; align-items: center; gap: 8px; font: 600 .82rem var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin-block-end: 14px; }
.te-toc__list { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--line); }
.te-toc__list a { display: block; padding: 6px 14px; margin-inline-start: -1px; border-inline-start: 2px solid transparent; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.te-toc__list .is-h3 a { padding-inline-start: 26px; font-size: .85rem; }
.te-toc__list a:hover { color: var(--glow); }
.te-toc__list a.is-active { color: var(--aqua); border-color: var(--aqua); }
.te-sidecard { padding: 24px; border-radius: var(--radius); background: radial-gradient(circle at 100% 0%, rgba(31, 91, 255, .35), transparent 60%), var(--panel); border: 1px solid var(--line-strong); }
.te-sidecard__title { font: 600 1.1rem var(--f-head); color: var(--glow); margin-block-end: 6px; }
.te-sidecard p { color: var(--muted); font-size: .94rem; }

/* Entry content (handles imported Blogger/ChatGPT markup with inline black text) */
.entry-content { color: var(--text); font-size: 1.08rem; line-height: 1.85; overflow-wrap: break-word; }
.entry-content [style*="color"]:not(.has-text-color):not(mark) { color: inherit !important; }
.entry-content [style*="background"]:not(.has-background):not(mark) { background: transparent !important; }
.entry-content [style*="font-family"] { font-family: inherit !important; }
.entry-content > *:first-child { margin-block-start: 0; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin-block: 1.8em .6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.entry-content h1 { font-size: 2rem; }
.entry-content h2 { font-size: 1.75rem; padding-block-end: 12px; border-block-end: 1px solid var(--line); position: relative; }
.entry-content h2::after { content: ""; position: absolute; inset-block-end: -1px; inset-inline-start: 0; width: 64px; height: 2px; background: var(--grad); box-shadow: 0 0 10px var(--cyan); }
.entry-content h3 { font-size: 1.35rem; color: var(--aqua); }
.entry-content h4 { font-size: 1.12rem; }
.entry-content strong, .entry-content b { color: var(--glow); font-weight: 600; }
.entry-content a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(0, 217, 248, .4); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--aqua); text-decoration-color: var(--aqua); }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; margin-block-end: 1.3em; }
.entry-content li { margin-block-end: .45em; }
.entry-content ul li::marker { color: var(--cyan); }
.entry-content ol li::marker { color: var(--cyan); font-family: var(--f-mono); }
.entry-content img { border-radius: 14px; background: #fff; padding: 6px; height: auto; }
.entry-content img.te-noframe, .entry-content .wp-block-image.is-style-rounded img { background: none; padding: 0; }
.entry-content figure, .entry-content .wp-block-image { margin: 2em 0; }
.entry-content figcaption, .entry-content .wp-caption-text { text-align: center; color: var(--muted); font-size: .88rem; margin-block-start: 10px; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .4em 1.6em 1em 0; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.6em; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content hr { border: 0; height: 1px; margin: 2.6em 0; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.entry-content blockquote { margin: 2em 0; padding: 20px 26px; border-inline-start: 3px solid var(--cyan); background: rgba(0, 217, 248, .06); border-radius: 0 14px 14px 0; color: var(--glow); font-size: 1.1rem; }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content code { font-family: var(--f-mono); font-size: .9em; padding: 2px 7px; border-radius: 6px; background: rgba(0, 217, 248, .1); color: var(--aqua); }
.entry-content pre { font-family: var(--f-mono); font-size: .92rem; line-height: 1.65; padding: 22px; border-radius: 14px; background: #020916; border: 1px solid var(--line); overflow: auto; color: #b8f7ff; box-shadow: inset 0 0 30px rgba(0, 217, 248, .05); }
.entry-content pre code { background: none; padding: 0; color: inherit; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: .96rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px 16px; border: 1px solid var(--line); text-align: start; }
.entry-content th { background: rgba(0, 217, 248, .1); color: var(--glow); font-family: var(--f-head); }
.entry-content tr:nth-child(even) td { background: rgba(10, 26, 56, .5); }
.entry-content iframe { max-width: 100%; border-radius: 14px; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content .separator a { text-decoration: none; }

.te-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 40px 24px; }
.te-article__tags a { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); font: 500 .85rem var(--f-mono); }
.te-article__tags a:hover { color: var(--aqua); border-color: var(--aqua); }
.te-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 22px; border-block: 1px solid var(--line); margin-block: 24px 40px; }
.te-share span { font: 600 .95rem var(--f-head); color: var(--glow); margin-inline-end: 8px; }
.te-share a, .te-share button { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(10, 26, 56, .6); color: var(--text); cursor: pointer; transition: .2s; }
.te-share a:hover, .te-share button:hover { color: var(--void); background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 18px rgba(0, 217, 248, .4); }
.te-share button.is-copied { background: var(--aqua); color: var(--void); }
.te-author { display: flex; gap: 24px; padding: 28px; border-radius: 22px; background: rgba(10, 26, 56, .6); border: 1px solid var(--line-strong); margin-block-end: 40px; }
.te-author .te-eyebrow { margin-block-end: 6px; }
.te-author__name { font-size: 1.4rem; margin-block-end: 2px; }
.te-author__role { color: var(--cyan); font-size: .92rem; margin-block-end: 10px; }
.te-author p:not(.te-eyebrow):not(.te-author__role) { color: var(--muted); font-size: .96rem; }
.te-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block-end: 48px; }
.te-postnav__item { display: grid; gap: 6px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 26, 56, .5); transition: .25s; }
.te-postnav__item:hover { border-color: var(--cyan); box-shadow: 0 0 24px rgba(0, 217, 248, .12); }
.te-postnav__item small { display: inline-flex; gap: 6px; align-items: center; color: var(--cyan); font: 500 .8rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; }
.te-postnav__item strong { color: var(--glow); font-family: var(--f-head); font-weight: 600; line-height: 1.35; }
.te-postnav__item--next { text-align: end; }
.te-postnav__item--next small { justify-content: flex-end; }

/* ---------- Comments & forms ---------- */
.te-comments { padding-block-start: 16px; }
.te-comments__title { font-size: 1.5rem; }
.te-comments__list { list-style: none; padding: 0; margin: 0 0 40px; }
.te-comments__list .children { list-style: none; padding-inline-start: 32px; }
.te-comments__list .comment-body { padding: 20px 22px; border-radius: 16px; background: rgba(10, 26, 56, .55); border: 1px solid var(--line); margin-block-end: 16px; }
.te-comments__list .avatar { border-radius: 50%; float: inline-start; margin-inline-end: 14px; border: 1px solid var(--line-strong); }
.te-comments__list .fn { color: var(--glow); font-style: normal; font-family: var(--f-head); }
.te-comments__list .comment-metadata a { color: var(--muted); font-size: .82rem; }
.te-comments__list .reply a { font-size: .85rem; font-weight: 600; }
.comment-form label, .te-field > span { display: block; font: 500 .9rem var(--f-head); color: var(--glow); margin-block-end: 8px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.te-field input, .te-field select, .te-field textarea {
	width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(3, 13, 31, .7);
	color: var(--glow); font: 400 1rem var(--f-body); transition: .2s;
}
.te-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] .te-field select { background-position: 20px 50%, 15px 50%; }
.te-field select option { background: var(--panel); }
.comment-form input:focus, .comment-form textarea:focus, .te-field input:focus, .te-field select:focus, .te-field textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 217, 248, .15), 0 0 20px rgba(0, 217, 248, .15); }
.comment-form p { margin-block-end: 18px; }
.comment-form .comment-notes, .logged-in-as { color: var(--muted); font-size: .9rem; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; color: var(--muted); }

/* ---------- Contact ---------- */
.te-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-block-end: 48px; }
.te-ccard { display: grid; gap: 4px; padding: 28px; border-radius: 22px; background: rgba(10, 26, 56, .65); border: 1px solid var(--line); color: var(--text); transition: .3s var(--ease); }
.te-ccard:hover { color: var(--text); border-color: var(--cyan); transform: translateY(-4px); box-shadow: 0 0 36px rgba(0, 217, 248, .18); }
.te-ccard__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(0, 217, 248, .1); border: 1px solid var(--line-strong); color: var(--aqua); margin-block-end: 14px; }
.te-ccard__label { font: 500 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); }
.te-ccard strong { color: var(--glow); font: 600 1.2rem var(--f-head); word-break: break-word; }
.te-ccard small { color: var(--muted); }
.te-contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.te-contact__form { padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: rgba(10, 26, 56, .65); border: 1px solid var(--line-strong); box-shadow: 0 0 50px rgba(0, 217, 248, .06); }
.te-form { display: grid; gap: 18px; }
.te-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.te-form .te-btn { justify-self: start; }
.te-hp { position: absolute; inset-inline-start: -9999px; }
.te-notice { padding: 14px 18px; border-radius: 12px; margin-block-end: 20px; font-weight: 500; }
.te-notice--success { background: rgba(64, 255, 240, .1); border: 1px solid var(--aqua); color: var(--aqua); }
.te-notice--error { background: rgba(255, 90, 120, .1); border: 1px solid #ff5a78; color: #ff9fb1; }
.te-contact__side { display: grid; gap: 24px; }
.te-faq details { border-block-end: 1px solid var(--line); }
.te-faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 600 1.02rem var(--f-head); color: var(--glow); display: flex; justify-content: space-between; gap: 16px; }
.te-faq summary::-webkit-details-marker { display: none; }
.te-faq summary::after { content: "+"; color: var(--cyan); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.te-faq details[open] summary::after { transform: rotate(45deg); }
.te-faq details p { color: var(--muted); padding-block-end: 16px; margin: 0; }

/* ---------- About ---------- */
.te-about-hero { padding-block: 40px 40px; }
.te-about-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.te-about-hero__media { position: relative; max-width: 420px; width: 100%; margin-inline: auto; }
.te-prose p { font-size: 1.1rem; color: var(--text); }
.te-expertise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.te-expertise__item { padding: 28px; border-radius: 20px; background: rgba(10, 26, 56, .6); border: 1px solid var(--line); transition: .3s; }
.te-expertise__item:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 0 30px rgba(0, 217, 248, .1); }
.te-expertise__item .te-disc__icon { width: 52px; height: 52px; margin-block-end: 18px; }
.te-expertise__item h3 { font-size: 1.2rem; }
.te-expertise__item p { color: var(--muted); margin: 0; font-size: .96rem; }
.te-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.te-vm__card { padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: radial-gradient(circle at 0 0, rgba(0, 217, 248, .15), transparent 55%), var(--panel); border: 1px solid var(--line-strong); }
.te-vm__card .te-disc__icon { margin-block-end: 22px; }
.te-vm__card .te-eyebrow { display: flex; margin-block-end: 10px; }
.te-vm__card h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; font-weight: 600; margin: 0; }

/* ---------- 404 & empty ---------- */
.te-404 { padding-block: 80px 120px; text-align: center; }
.te-404 .te-pagehead__lead { margin-inline: auto; }
.te-404 .te-searchform { max-width: 560px; margin: 28px auto 0; }
.te-404__code { font: 700 clamp(7rem, 22vw, 14rem)/1 var(--f-head); margin: 0 0 10px; color: transparent; -webkit-text-stroke: 2px var(--cyan); filter: drop-shadow(0 0 22px rgba(0, 217, 248, .5)); letter-spacing: -.04em; }
.te-404__code span { -webkit-text-stroke: 0; color: var(--aqua); text-shadow: 0 0 40px var(--aqua); animation: te-flicker 3s infinite; }
.te-empty { text-align: center; padding: 60px 20px; max-width: 620px; margin-inline: auto; }
.te-empty__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; border: 1px solid var(--line-strong); color: var(--cyan); margin-block-end: 20px; }
.te-empty p { color: var(--muted); }

/* ---------- Pagination ---------- */
.pagination { margin-block-start: 56px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(10, 26, 56, .6); color: var(--text); font: 600 .95rem var(--f-mono); }
.pagination .page-numbers:hover { border-color: var(--cyan); color: var(--aqua); }
.pagination .page-numbers.current { background: var(--grad); color: var(--void); border: 0; box-shadow: 0 0 22px rgba(0, 217, 248, .4); }

/* ---------- Widgets ---------- */
.widget { padding: 22px; border-radius: var(--radius); background: rgba(10, 26, 56, .6); border: 1px solid var(--line); }
.widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); font-family: var(--f-mono); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-block-end: 1px solid var(--line); }
.widget li:last-child { border: 0; }
.widget a { color: var(--text); }
.widget a:hover { color: var(--aqua); }

/* ---------- Footer ---------- */
.te-footer { position: relative; margin-block-start: 40px; padding-block: 72px 28px; background: linear-gradient(180deg, transparent, rgba(2, 8, 20, .9) 30%); border-block-start: 1px solid var(--line); }
.te-footer::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 10%; height: 1px; background: var(--grad); box-shadow: 0 0 20px var(--cyan); opacity: .7; }
.te-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.te-footer__logo img { height: 64px; width: auto; margin-block-end: 18px; }
.te-footer__about p { color: var(--muted); font-size: .96rem; max-width: 360px; }
.te-footer__title { font: 600 .82rem var(--f-mono); text-transform: uppercase; letter-spacing: .16em; color: var(--cyan); margin-block-end: 20px; }
.te-footer__links, .te-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.te-footer__links a { color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.te-footer__links a:hover { color: var(--aqua); }
.te-footer__links .te-icon { color: var(--cyan); }
.te-footer__contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.te-footer__contact .te-icon { color: var(--cyan); margin-block-start: 5px; flex: none; }
.te-footer__contact a { color: var(--text); }
.te-footer__contact a:hover { color: var(--aqua); }
.te-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-block-start: 56px; padding-block-start: 24px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.te-footer__credit { font-family: var(--f-mono); }
.te-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 20px; }
.te-social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(10, 26, 56, .6); color: var(--text); transition: .2s; }
.te-social:hover { color: var(--void); background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 20px rgba(0, 217, 248, .45); }
.te-wa-float { position: fixed; z-index: 90; inset-block-end: 22px; inset-inline-end: 22px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .4); transition: transform .25s; }
.te-wa-float:hover { color: #fff; transform: scale(1.08); }
.te-totop { position: fixed; z-index: 90; inset-block-end: 92px; inset-inline-end: 30px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(10, 26, 56, .9); color: var(--cyan); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.te-totop .te-icon { transform: rotate(180deg); }
.te-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.te-totop:hover { box-shadow: 0 0 20px rgba(0, 217, 248, .4); }

/* ---------- Reveal ---------- */
.js .te-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .te-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes te-flow { to { stroke-dashoffset: -660; } }
@keyframes te-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes te-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes te-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes te-flicker { 0%, 19%, 21%, 23%, 54%, 56%, 100% { opacity: 1; } 20%, 22%, 55% { opacity: .3; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .te-reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.te-disc { grid-template-columns: 1fr; }
	.te-disc__card { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; }
	.te-disc__top { grid-row: span 4; flex-direction: column; align-items: flex-start; gap: 12px; }
	.te-path, .te-audience { grid-template-columns: repeat(2, 1fr); }
	.te-footer__grid { grid-template-columns: 1fr 1fr; }
	.te-article__layout { grid-template-columns: minmax(0, 1fr); }
	.te-article__main { max-width: none; }
	.te-article__side { order: -1; }
	.te-sticky { position: static; }
	.te-sticky .te-sidecard, .te-article__widgets { display: none; }
	.te-toc { max-height: none; }
	.te-toc__title { cursor: pointer; margin: 0; }
	.te-toc__title::after { content: "+"; margin-inline-start: auto; font-size: 1.2rem; }
	.te-toc:not(.is-collapsed) .te-toc__title { margin-block-end: 14px; }
	.te-toc:not(.is-collapsed) .te-toc__title::after { content: "–"; }
	.te-toc.is-collapsed .te-toc__list { display: none; }
	.te-hero__visual { max-width: 320px; }
	.te-expertise { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.te-burger { display: inline-grid; }
	.te-header__cta { display: none; }
	.te-nav {
		position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 20px; overflow-y: auto;
		background: var(--void); opacity: 0; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; visibility: hidden; pointer-events: none;
	}
	.admin-bar .te-nav { inset-block-start: calc(var(--header-h) + 46px); }
	.te-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
	.te-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.te-menu > li { flex-wrap: wrap; border-block-end: 1px solid var(--line); }
	.te-menu > li > a { flex: 1; padding: 16px 8px; font-size: 1.1rem; box-shadow: none !important; }
	.te-menu .menu-item-has-children > a::after { display: none; }
	.te-sub-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; }
	.te-sub-toggle[aria-expanded="true"] .te-icon { transform: rotate(180deg); }
	.te-menu .sub-menu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; margin-block-end: 12px; }
	.te-menu .sub-menu.is-open { display: block; }
	.te-menu li:hover > .sub-menu { display: none; }
	.te-menu li:hover > .sub-menu.is-open, .te-menu .sub-menu.is-open { display: block; }
	.te-hero__grid, .te-course, .te-instructor, .te-split, .te-contact, .te-about-hero__grid { grid-template-columns: 1fr; }
	.te-hero__visual { max-width: 400px; order: -1; }
	.te-stats { grid-template-columns: repeat(2, 1fr); }
	.te-stat:nth-child(3) { border-inline-start: 0; }
	.te-stat:nth-child(n+3) { border-block-start: 1px solid var(--line); }
	.te-contact-cards { grid-template-columns: 1fr; }
	.te-pagehead__icon { display: none; }
	.te-vm { grid-template-columns: 1fr; }
}

@media (max-width: 782px) { .admin-bar .te-header { inset-block-start: 46px; } }
@media (max-width: 600px) {
	.admin-bar .te-header { inset-block-start: 0; }
	body { font-size: 1rem; }
	.te-container { width: calc(100% - 32px); }
	.te-disc__card { display: flex; }
	.te-disc__top { flex-direction: row; }
	.te-path, .te-audience, .te-expertise, .te-form__row, .te-postnav { grid-template-columns: 1fr; }
	.te-footer__grid { grid-template-columns: 1fr; }
	.te-chip--a { inset-inline-start: 0; }
	.te-chip--b { inset-inline-end: 0; }
	.te-stat { padding: 20px; }
	.te-stat dd { font-size: 1.9rem; }
	.te-hero__search button { display: none; }
	.te-author { flex-direction: column; }
	.te-instructor__years { inset-inline-end: 0; }
	.entry-content .alignleft, .entry-content .alignright { float: none; margin: 1em auto; }
	.te-postnav__item--next { text-align: start; }
	.te-postnav__item--next small { justify-content: flex-start; }
}

/* Core block widgets inside the sidebar */
.te-article__widgets { display: grid; gap: 20px; margin-block-start: 20px; }
.widget h2, .widget .wp-block-heading { font: 600 .82rem var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin-block-end: 14px; }
.wp-block-search__inside-wrapper { display: flex; gap: 8px; width: 100% !important; }
.wp-block-search__button { flex: none; }
.wp-block-search__input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(3, 13, 31, .7); color: var(--glow); }
.wp-block-search__button { padding: 10px 14px; border-radius: 10px; border: 0; background: var(--grad); color: var(--void); font-weight: 600; cursor: pointer; }
.wp-block-search__label { color: var(--glow); font-family: var(--f-head); }
.wp-block-latest-comments { padding: 0; }
.wp-block-latest-comments__comment { padding: 8px 0; border-block-end: 1px solid var(--line); line-height: 1.5; }
.wp-block-latest-comments__comment-meta { font-size: .9rem; }

/* WhatsApp form */
.te-contact__form .te-section__title { display: flex; align-items: center; gap: 12px; }
.te-contact__form .te-section__title .te-icon { color: #25d366; filter: drop-shadow(0 0 10px rgba(37, 211, 102, .5)); }
.te-form__intro { color: var(--muted); margin-block: -6px 22px; }
.te-btn--wa { justify-self: start; background: linear-gradient(120deg, #25d366, #12b886); color: #fff; border: 0; box-shadow: 0 8px 30px rgba(37, 211, 102, .35); }
.te-btn--wa:hover { color: #fff; box-shadow: 0 10px 40px rgba(37, 211, 102, .55); }
.te-form__note { color: var(--muted); font-size: .85rem; margin: 0; }
