/* ==========================================================================
   Hello Dixit — site styles
   Light, gradient-led, 3px radius throughout, Outfit type. No dark surfaces.
   1. Base            5. Research papers
   2. Header          6. News pages
   3. Inner pages     7. Footer
   4. Home page       8. Motion
   ========================================================================== */

/* 1. Base ----------------------------------------------------------------- */

html {
	scroll-padding-top: calc(var(--dx-header-h) + 40px);
	-webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
html.dx-lock,
html.dx-lock body { overflow: hidden; }

body.dixit,
body.dixit.elementor-kit-10 {
	background: var(--grad-page) fixed, var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--step-0);
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.dixit h1, .dixit h2, .dixit h3, .dixit h4, .dixit h5, .dixit h6 {
	font-family: var(--font);
	font-weight: 600;
	color: var(--text-strong);
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.dixit p { text-wrap: pretty; }

.dixit a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s var(--ease);
}
.dixit a:hover { color: var(--accent-strong); }

.dixit ::selection { background: var(--butter); color: var(--ink); }

.dixit :focus-visible {
	outline: 2px solid var(--forest);
	outline-offset: 3px;
	border-radius: var(--radius);
}

.dixit img { border-radius: var(--radius); }

.dixit .screen-reader-text:not(:focus) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.dixit .skip-link.screen-reader-text:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100000;
	padding: 12px 16px;
	background: var(--surface-solid);
	color: var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	font-weight: 600;
}

/* Shared button look (also used by Elementor buttons site-wide) */
.dixit .elementor-button,
.dx-btn-base {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px !important;
	border: 1px solid transparent !important;
	border-radius: var(--radius) !important;
	background: var(--grad-button) !important;
	color: var(--on-accent) !important;
	fill: var(--on-accent) !important;
	font: 500 15px/1 var(--font) !important;
	letter-spacing: 0.02em !important;
	text-transform: none !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 6px 16px rgba(35, 78, 53, 0.18);
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}
.dixit .elementor-button:hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 10px 22px rgba(35, 78, 53, 0.24);
}
.dixit .elementor-button .elementor-button-text,
.dixit .elementor-button .elementor-button-icon { color: inherit !important; fill: currentColor !important; }

/* 2. Header --------------------------------------------------------------- */

.dx-header {
	position: fixed;
	inset: 12px 0 auto;
	z-index: 1000;
	padding: 0 12px;
	pointer-events: none;
	transition: transform 0.35s var(--ease);
}
.admin-bar .dx-header { top: 44px; }
@media (max-width: 782px) { .admin-bar .dx-header { top: 58px; } }
.dx-header.is-hidden { transform: translateY(calc(-100% - 24px)); }

.dx-header__bar {
	pointer-events: auto;
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: var(--max);
	margin: 0 auto;
	min-height: 60px;
	padding: 8px 8px 8px 20px;
	background: var(--header-glass);
	-webkit-backdrop-filter: saturate(150%) blur(16px);
	backdrop-filter: saturate(150%) blur(16px);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	transition: box-shadow 0.3s var(--ease);
}
.dx-header.is-scrolled .dx-header__bar,
.dx-header.is-open .dx-header__bar { box-shadow: var(--shadow); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.dx-header__bar { background: var(--surface-solid); }
}

.dx-header .dx-header__brand {
	display: inline-flex;
	align-items: center;
	flex: none;
	color: var(--ink);
	text-decoration: none;
}
.dx-header__name {
	font: 600 18px/1 var(--font);
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.dx-header__nav { display: none; margin-left: auto; }
.dx-header__social { display: none; }

.dx-menu, .dx-submenu, .dx-header__social, .dx-sheet__social {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dx-menu--desktop { display: flex; align-items: center; gap: 2px; }
.dx-menu--desktop > .dx-menu__item { position: relative; display: flex; align-items: center; }

.dx-header .dx-menu__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border: 0;
	border-radius: var(--radius);
	background: none;
	color: var(--text);
	font: 500 15px/1.2 var(--font);
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.dx-menu--desktop > .dx-menu__item > .dx-menu__link:hover,
.dx-menu--desktop > .dx-menu__item.is-expanded > .dx-menu__link {
	background: rgba(124, 144, 131, 0.14);
	color: var(--ink);
}
.dx-menu--desktop > .dx-menu__item > .dx-menu__link.is-active,
.dx-menu--desktop > .dx-menu__item > .dx-menu__link[aria-current] {
	background: var(--grad-button);
	color: var(--on-accent);
}

.dx-header .dx-menu__toggle--icon {
	display: grid;
	place-items: center;
	width: 22px;
	height: 34px;
	margin-left: -8px;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: none;
	color: var(--muted);
	cursor: pointer;
}

.dx-caret {
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s var(--ease);
}
[aria-expanded="true"] > .dx-caret { transform: translateY(1px) rotate(-135deg); }

.dx-menu--desktop .dx-submenu {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	min-width: 240px;
	padding: 8px;
	background: rgba(251, 251, 246, 0.96);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lift);
	transform: translateX(-50%);
}
.dx-menu--desktop .dx-submenu::before {
	content: "";
	position: absolute;
	inset: -16px 0 auto;
	height: 16px;
}
.dx-menu--desktop .dx-submenu[hidden] { display: none; }
.dx-menu--desktop .dx-submenu .dx-menu__item { display: block; }
.dx-menu--desktop .dx-submenu .dx-menu__link { display: flex; width: 100%; padding: 10px 12px; font-size: 15px; }
.dx-menu--desktop .dx-submenu .dx-menu__link:hover { background: var(--sage-wash); color: var(--forest-deep); }
.dx-menu--desktop .dx-submenu .dx-menu__item--parent > .dx-menu__toggle--icon { display: none; }
.dx-menu--desktop .dx-submenu--nested {
	position: static;
	transform: none;
	min-width: 0;
	margin: 0 0 4px 12px;
	padding: 0 0 0 10px;
	border: 0;
	border-left: 1px solid var(--rule-strong);
	border-radius: 0;
	box-shadow: none;
	background: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.dx-menu--desktop .dx-submenu--nested::before { display: none; }
.dx-menu--desktop .dx-submenu--nested .dx-menu__link { font-size: 14px; padding: 8px 10px; color: var(--muted); }

.dx-header__social { gap: 4px; padding-left: 10px; margin-left: 4px; border-left: 1px solid var(--rule); }
.dx-header .dx-header__social a {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	border-radius: var(--radius);
	color: var(--forest);
	font: 600 12px/1 var(--font);
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.dx-header .dx-header__social a:hover { background: var(--grad-button); color: var(--on-accent); }

.dx-header .dx-header__menu-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--radius);
	background: var(--grad-button);
	color: var(--on-accent);
	font: 500 15px/1 var(--font);
	letter-spacing: 0.02em;
	text-transform: none;
	cursor: pointer;
}
.dx-burger { position: relative; width: 16px; height: 10px; }
.dx-burger span {
	position: absolute;
	left: 0;
	right: 0;
	height: 1.5px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.dx-burger span:first-child { top: 0; }
.dx-burger span:last-child { top: 8.5px; }
.is-open .dx-burger span:first-child { top: 4.25px; transform: rotate(45deg); }
.is-open .dx-burger span:last-child { top: 4.25px; transform: rotate(-45deg); }

.dx-sheet {
	pointer-events: auto;
	position: fixed;
	inset: 0;
	z-index: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: calc(12px + 60px + 24px) var(--gutter) 40px;
	background: var(--grad-mist), var(--grad-page);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.admin-bar .dx-sheet { top: 46px; }
.dx-header.is-open .dx-sheet { opacity: 1; transform: none; }

.dx-menu--mobile { max-width: 560px; margin: 0 auto; }
.dx-menu--mobile .dx-menu__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid var(--rule);
}
.dx-menu--mobile .dx-menu__item .dx-menu__item { border-bottom: 0; }
.dx-menu--mobile .dx-menu__link {
	flex: 1;
	justify-content: space-between;
	min-height: 54px;
	padding: 12px 0;
	border-radius: 0;
	font: 500 var(--step-1)/1.2 var(--font);
	color: var(--ink);
	text-align: left;
}
.dx-menu--mobile .dx-menu__toggle--icon {
	width: 44px;
	height: 44px;
	margin: 0;
	border: 1px solid var(--rule-strong);
	color: var(--forest);
}
.dx-menu--mobile .dx-submenu {
	flex-basis: 100%;
	margin-bottom: 14px;
	padding: 4px 0 8px 14px;
	border-left: 2px solid var(--forest);
}
.dx-menu--mobile .dx-submenu[hidden] { display: none; }
.dx-menu--mobile .dx-submenu .dx-menu__link { min-height: 44px; padding: 8px 0; font: 400 var(--step-0)/1.3 var(--font); color: var(--text); }
.dx-menu--mobile .dx-submenu--nested { border-left-color: var(--rule-strong); margin-bottom: 4px; }

.dx-sheet__social { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; margin: 28px auto 0; }
.dx-sheet__social a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--forest);
	font-weight: 500;
	text-decoration: none;
}

@media (max-width: 420px) {
	.dx-header__name { font-size: 16px; }
	.dx-header__menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.dx-header .dx-header__menu-btn { padding: 0 14px; }
}
@media (min-width: 1100px) {
	.dx-header { top: 16px; }
	.admin-bar .dx-header { top: 48px; }
	.dx-header__nav { display: block; }
	.dx-header__social { display: flex; }
	.dx-header .dx-header__menu-btn, .dx-sheet { display: none !important; }
}

/* 3. Inner pages ---------------------------------------------------------- */

body.dixit:not(.dixit-home) .site-main {
	max-width: calc(var(--max) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
	padding-top: calc(var(--dx-header-h) + 72px);
	padding-bottom: var(--section-y);
}
body.dixit:not(.dixit-home) .site-main .elementor-section > .elementor-container { max-width: 100%; }
body.dixit:not(.dixit-home) .page-content > .elementor > .elementor-section > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap { padding-left: 0; }

/* Page title block — a soft gradient panel, like the reference's hero card */
body.dixit .page-header {
	position: relative;
	margin: 0 0 clamp(28px, 4vw, 48px);
	padding: clamp(28px, 5vw, 56px) clamp(22px, 4vw, 48px);
	background: var(--grad-mist), var(--grad-panel);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
}
body.dixit .page-header .entry-title {
	margin: 0;
	font-size: var(--step-3);
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--ink);
}

/* Legacy Elementor content → palette */
body.dixit:not(.dixit-home) .elementor-section { background-color: transparent; }
body.dixit:not(.dixit-home) .elementor-heading-title {
	font-family: var(--font) !important;
	color: var(--ink) !important;
	letter-spacing: -0.02em !important;
}
body.dixit:not(.dixit-home) .elementor-widget-text-editor:not(.dx-rich),
body.dixit:not(.dixit-home) .elementor-widget-text-editor:not(.dx-rich) :is(p, li, span, strong, b, em, i, div, h5, h6),
body.dixit:not(.dixit-home) .elementor-tab-content,
body.dixit:not(.dixit-home) .elementor-tab-content :is(p, li, span, strong, b, em, i) {
	font-family: var(--font) !important;
	color: var(--text) !important;
}
body.dixit:not(.dixit-home) .elementor-widget-text-editor:not(.dx-rich) { font-size: var(--step-0); line-height: 1.75; max-width: 72ch; }
body.dixit:not(.dixit-home) .elementor-widget-text-editor a,
body.dixit:not(.dixit-home) .elementor-tab-content a { color: var(--forest) !important; }
body.dixit:not(.dixit-home) .widget-image-caption,
body.dixit:not(.dixit-home) figcaption { color: var(--muted) !important; font-family: var(--font) !important; font-size: var(--step--1) !important; }

body.dixit:not(.dixit-home) .elementor-toggle .elementor-toggle-item,
body.dixit:not(.dixit-home) .elementor-accordion .elementor-accordion-item { border: 0 !important; border-bottom: 1px solid var(--rule) !important; }
body.dixit:not(.dixit-home) .elementor-tab-title { border: 0 !important; padding: 16px 0 !important; }
body.dixit:not(.dixit-home) .elementor-tab-title,
body.dixit:not(.dixit-home) .elementor-tab-title a,
body.dixit:not(.dixit-home) .elementor-tab-title .elementor-toggle-icon {
	font-family: var(--font) !important;
	font-weight: 500 !important;
	font-size: var(--step-0) !important;
	line-height: 1.45 !important;
	color: var(--ink) !important;
}
body.dixit:not(.dixit-home) .elementor-tab-content { border: 0 !important; padding: 0 0 18px !important; }
body.dixit:not(.dixit-home) .elementor-icon { color: var(--forest) !important; fill: var(--forest) !important; }

body.dixit:not(.dixit-home) .elementor-widget-video .elementor-wrapper,
body.dixit:not(.dixit-home) .elementor-widget-video video,
body.dixit:not(.dixit-home) .elementor-widget-html iframe,
body.dixit:not(.dixit-home) .elementor-widget-image img {
	border-radius: var(--radius);
	overflow: hidden;
}
body.dixit:not(.dixit-home) .elementor-widget-video .elementor-wrapper,
body.dixit:not(.dixit-home) .elementor-widget-image img { box-shadow: var(--shadow); }

/* 4. Home page ------------------------------------------------------------ */

.dixit-home .site-main,
.dixit-home .elementor { overflow-x: clip; }

.dixit-home .elementor-section.dx-section,
.dixit-home .elementor-section.dx-hero {
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}
.dixit-home .elementor-section.dx-section > .elementor-container,
.dixit-home .elementor-section.dx-hero > .elementor-container { max-width: var(--max); }
.dixit-home .elementor-section.dx-section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.dixit-home .dx-section > .elementor-container > .elementor-column > .elementor-widget-wrap,
.dixit-home .dx-hero > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0; }
.dixit-home .dx-section .elementor-widget:not(:last-child),
.dixit-home .dx-hero .elementor-widget:not(:last-child) { margin-bottom: 24px; }

/* Bands become inset panels floating on the page gradient */
.dixit-home .elementor-section.dx-band-alt,
.dixit-home .elementor-section.dx-band-dark {
	background: none;
	padding-top: clamp(12px, 2vw, 24px);
	padding-bottom: clamp(12px, 2vw, 24px);
}
.dixit-home .dx-band-alt > .elementor-container,
.dixit-home .dx-band-dark > .elementor-container {
	padding: clamp(36px, 6vw, 80px) clamp(22px, 5vw, 72px);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}
.dixit-home .dx-band-alt > .elementor-container { background: var(--surface); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dixit-home .dx-band-dark > .elementor-container { background: var(--grad-mist), var(--grad-panel); }

/* Section labels */
.dixit-home .dx-label-col .elementor-heading-title {
	font-size: var(--step-3);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.035em;
	color: var(--ink);
}
.dixit-home .dx-label-col .elementor-widget-heading::before {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	margin-bottom: 20px;
	border-radius: var(--radius);
	background: var(--grad-button);
}
@media (min-width: 1025px) {
	.dixit-home .dx-label-col > .elementor-widget-wrap { align-content: flex-start; }
	.dixit-home .dx-label-col .dx-sticky { position: sticky; top: calc(var(--dx-header-h) + 56px); }
	.dixit-home .dx-label-col { padding-right: clamp(24px, 4vw, 72px); }
}

/* ---- Hero ---- */
.dixit-home .elementor-section.dx-hero {
	position: relative;
	padding-top: calc(var(--dx-header-h) + clamp(40px, 7vw, 96px));
	padding-bottom: clamp(40px, 6vw, 80px);
}
.dixit-home .elementor-section.dx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--grad-mist);
	pointer-events: none;
}
.dixit-home .dx-hero > .elementor-container { position: relative; z-index: 1; align-items: center; }

.dixit-home .dx-h1 .elementor-heading-title {
	margin: 0;
	font-size: var(--step-4);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.045em;
	color: var(--ink);
}
.dixit-home .dx-hero .dx-h1:not(:last-child) { margin-bottom: 28px; }

.dixit-home .dx-roles .elementor-widget-container > :last-child { margin-bottom: 0; }
.dixit-home .dx-roles ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dixit-home .dx-roles li {
	margin: 0;
	padding: 7px 14px;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	background: var(--surface);
	font-size: var(--step--1);
	font-weight: 500;
	line-height: 1.3;
	color: var(--forest-deep);
}
.dixit-home .dx-roles li:first-child { background: var(--grad-button); border-color: transparent; color: var(--on-accent); }

.dixit-home .dx-btn { width: auto; }
.dixit-home .dx-hero .dx-btn { margin-right: 10px; margin-bottom: 12px !important; }
.dixit-home .dx-btn:not(.dx-btn--primary) .elementor-button {
	background: var(--surface) !important;
	border-color: var(--rule-strong) !important;
	color: var(--forest-deep) !important;
	box-shadow: none;
}
.dixit-home .dx-btn:not(.dx-btn--primary) .elementor-button:hover { background: var(--white) !important; border-color: var(--forest) !important; }
.dixit-home .dx-btn .elementor-button-icon svg,
.dixit-home .dx-btn .elementor-button-icon i { width: 14px; font-size: 13px; }

.dixit-home .dx-hero .dx-socials { margin-top: 12px; }
.dixit-home .dx-socials .elementor-icon-list-items { gap: 6px 18px; }
.dixit-home .dx-socials .elementor-icon-list-item > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	color: var(--muted);
	font-size: var(--step--1);
	font-weight: 500;
	text-decoration: none;
}
.dixit-home .dx-socials .elementor-icon-list-item > a:hover { color: var(--forest-deep); }
.dixit-home .dx-socials .elementor-icon-list-icon i,
.dixit-home .dx-socials .elementor-icon-list-icon svg { color: currentColor; fill: currentColor; width: 15px; font-size: 15px; }
.dixit-home .dx-socials .elementor-icon-list-text { color: inherit; }

/* Portrait in a soft gradient frame (the reference's floating card) */
.dixit-home .dx-portrait .elementor-widget-container {
	position: relative;
	max-width: 460px;
	margin-left: auto;
	padding: 14px;
	background: var(--grad-mist), var(--grad-panel);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lift);
}
.dixit-home .dx-portrait img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

/* ---- About ---- */
.dixit-home .dx-lead p {
	margin: 0;
	font-size: var(--step-2);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: var(--ink);
}
.dixit-home .dx-body p { max-width: 68ch; margin: 0 0 1.1em; line-height: 1.8; color: var(--text); }
.dixit-home .dx-body p:last-child { margin-bottom: 0; }
.dixit-home .dx-about .dx-body-col .elementor-widget-text-editor + .elementor-widget-text-editor {
	padding-top: 28px;
	border-top: 1px solid var(--rule);
}

/* ---- Education timeline ---- */
.dixit-home .dx-timeline ol { position: relative; margin: 0; padding: 0; list-style: none; }
.dixit-home .dx-timeline ol::before {
	content: "";
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 6px;
	width: 1px;
	background: var(--rule-strong);
}
.dixit-home .dx-timeline li { position: relative; display: grid; gap: 4px; margin: 0; padding: 0 0 32px 36px; }
.dixit-home .dx-timeline li:last-child { padding-bottom: 0; }
.dixit-home .dx-timeline li::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 0;
	width: 13px;
	height: 13px;
	border: 2px solid var(--forest);
	border-radius: var(--radius);
	background: var(--cream);
}
.dixit-home .dx-timeline li:first-child::before { background: var(--grad-button); border-color: var(--forest-deep); }
.dixit-home .dx-timeline .dx-year { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; color: var(--forest); }
.dixit-home .dx-timeline .dx-degree { font-size: var(--step-1); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.dixit-home .dx-timeline .dx-school { color: var(--muted); }
@media (min-width: 768px) {
	.dixit-home .dx-timeline li { grid-template-columns: 130px 1fr; column-gap: 24px; align-items: baseline; }
	.dixit-home .dx-timeline .dx-year { grid-row: span 2; }
}

/* ---- Facts (sage panel) ---- */
.dixit-home .dx-facts .dx-label-col .elementor-heading-title { color: var(--ink); }
.dixit-home .dx-facts .dx-intro p { margin: 0; font-size: var(--step-1); font-weight: 400; line-height: 1.4; color: var(--ink); }
.dixit-home .dx-facts .dx-intro strong { font-weight: 600; color: var(--forest-deep); }
.dixit-home .dx-stats { margin-top: clamp(28px, 4vw, 48px); }
.dixit-home .dx-stats > .elementor-container { gap: 12px; }
.dixit-home .dx-stat > .elementor-widget-wrap {
	align-content: flex-start;
	height: 100%;
	padding: 22px !important;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}
.dixit-home .dx-stat .elementor-widget:not(:last-child) { margin-bottom: 10px; }
.dixit-home .dx-stat-icon .elementor-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius);
	background: var(--grad-button);
	color: var(--on-accent) !important;
	font-size: 15px;
	transition: transform 0.2s var(--ease);
}
.dixit-home .dx-stat-icon .elementor-icon svg { width: 15px; height: 15px; fill: currentColor; }
.dixit-home .dx-stat-icon .elementor-icon:hover { transform: translateY(-2px); }
.dixit-home .dx-stat-num .elementor-heading-title {
	font-size: var(--step-3);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--ink);
}
.dixit-home .dx-stat-label .elementor-heading-title { font-size: var(--step--1); font-weight: 500; line-height: 1.4; color: var(--text); }

/* ---- Affiliations accordion ---- */
.dixit-home .dx-affil .dx-intro p { margin: 0; max-width: 30ch; color: var(--muted); }
.dixit-home .dx-accordion .elementor-toggle-item {
	margin-bottom: 10px;
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.dixit-home .dx-accordion .elementor-toggle-item:hover { border-color: var(--rule-strong); }
.dixit-home .dx-accordion .elementor-toggle-item:has(.elementor-active) { box-shadow: var(--shadow); border-color: var(--rule-strong); }
.dixit-home .dx-accordion .elementor-tab-title {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 0;
	cursor: pointer;
}
.dixit-home .dx-accordion .elementor-tab-title .elementor-toggle-title,
.dixit-home .dx-accordion .elementor-tab-title a {
	flex: 1;
	order: 1;
	font-size: var(--step-0);
	font-weight: 500;
	line-height: 1.35;
	color: var(--ink);
	text-decoration: none;
}
.dixit-home .dx-accordion .elementor-toggle-icon {
	order: 2;
	display: grid !important;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: var(--radius);
	background: var(--sage-wash);
	color: var(--forest-deep);
}
.dixit-home .dx-accordion .elementor-tab-title.elementor-active .elementor-toggle-icon { background: var(--grad-button); color: var(--on-accent); }
.dixit-home .dx-accordion .elementor-toggle-icon svg { width: 13px; height: 13px; fill: currentColor; }
.dixit-home .dx-accordion .elementor-tab-content {
	padding: 0 20px 22px;
	border: 0;
	color: var(--text);
	line-height: 1.75;
}
.dixit-home .dx-accordion .elementor-tab-content p { margin: 0 0 0.9em; }
.dixit-home .dx-accordion .elementor-tab-content p:first-child strong,
.dixit-home .dx-accordion .elementor-tab-content time {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--forest);
}

/* ---- Social embeds ---- */
.dixit-home .dx-social .elementor-container { gap: 16px; }
.dixit-home .dx-social .dx-embed-card > .elementor-widget-wrap {
	align-content: flex-start;
	padding: 18px !important;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}
.dixit-home .dx-eyebrow .elementor-heading-title {
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--forest);
}
.dixit-home .dx-embed-card .dx-eyebrow { margin-bottom: 14px !important; }
.dixit-home .dx-embed .elementor-widget-container { display: flex; justify-content: center; min-height: 180px; overflow: hidden; border-radius: var(--radius); }
.dixit-home .dx-embed iframe,
.dixit-home .dx-embed .fb-page { max-width: 100% !important; border-radius: var(--radius); }
.dixit-home .dx-embed .twitter-timeline:not(iframe) {
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 180px;
	border: 1px dashed var(--rule-strong);
	border-radius: var(--radius);
	color: var(--forest);
	font-weight: 500;
	text-decoration: none;
}

/* Responsive stacking */
@media (max-width: 1024px) {
	.dixit-home .dx-label-col { margin-bottom: 24px; }
	.dixit-home .dx-hero .dx-portrait .elementor-widget-container { margin: 40px 0 0; max-width: 380px; }
	.dixit-home .dx-social .elementor-column.dx-embed-card { width: 100%; }
}
@media (max-width: 767px) {
	.dixit-home .dx-hero .dx-portrait .elementor-widget-container { max-width: 100%; padding: 10px; }
	.dixit-home .dx-stats > .elementor-container { flex-wrap: wrap; gap: 10px; }
	.dixit-home .dx-stats .elementor-column.dx-stat { width: calc(50% - 5px); }
	.dixit-home .dx-stat > .elementor-widget-wrap { padding: 16px !important; }
	.dixit-home .dx-accordion .elementor-tab-title { padding: 16px; }
	.dixit-home .dx-accordion .elementor-tab-content { padding: 0 16px 18px; }
	.dixit-home .dx-band-alt > .elementor-container,
	.dixit-home .dx-band-dark > .elementor-container { padding: 32px 18px; }
	.dixit-home .elementor-section.dx-band-alt,
	.dixit-home .elementor-section.dx-band-dark { padding-left: 10px; padding-right: 10px; }
}

/* 5. Research papers ------------------------------------------------------ */

.dx-papers__bar {
	position: sticky;
	top: calc(var(--dx-header-h) + 28px);
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-bottom: 20px;
	padding: 12px;
	background: rgba(251, 251, 246, 0.85);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}
.dx-papers__search { flex: 1 1 280px; }
.dx-papers__search input {
	width: 100%;
	min-height: 46px;
	padding: 0 14px 0 42px;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23355240' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 14px 50%;
	color: var(--ink);
	font: 400 16px/1 var(--font);
}
.dx-papers__search input:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
.dx-papers__count { margin: 0; padding: 0 6px; color: var(--muted); font-size: var(--step--1); font-weight: 500; }

.dx-papers__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dx-paper {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 18px;
	padding: 18px 20px;
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.dx-paper[hidden] { display: none; }
.dx-paper:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-1px); }
.dx-paper__num {
	grid-row: span 2;
	padding-top: 3px;
	font-size: var(--step--1);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--forest);
}
.dixit .dx-paper__title {
	font-size: var(--step-0);
	font-weight: 500;
	line-height: 1.45;
	color: var(--ink);
	text-decoration: none;
}
.dixit a.dx-paper__title::after { content: ""; position: absolute; inset: 0; }
.dx-paper { position: relative; }
.dixit a.dx-paper__title:hover { color: var(--forest-deep); text-decoration: underline; }
.dx-paper__source { font-size: var(--step--1); color: var(--muted); }
.dx-papers__empty { padding: 24px; text-align: center; color: var(--muted); }

/* 6. News pages ----------------------------------------------------------- */

.dixit-news .page-content {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 18px;
}
.dixit-news .page-content > :not(.dx-news-card) { grid-column: 1 / -1; }
.dixit-news .page-content > p:empty { display: none; }

.dx-news-card { display: flex; }
.dixit .dx-news-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	color: var(--text);
	text-decoration: none;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.dixit .dx-news-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--rule-strong); color: var(--text); }
.dx-news-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--grad-mist), var(--grad-panel);
}
.dx-news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.5s var(--ease);
}
.dx-news-card__link:hover .dx-news-card__media img { transform: scale(1.04); }
.dx-news-card__media.is-empty::after,
.dx-news-card__media:not(:has(img))::after {
	content: attr(data-initial);
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font: 600 56px/1 var(--font);
	color: rgba(53, 82, 64, 0.35);
}
.dx-news-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.dx-news-card__source {
	align-self: flex-start;
	padding: 4px 8px;
	border-radius: var(--radius);
	background: var(--sage-wash);
	color: var(--forest-deep);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.dixit .dx-news-card__title {
	margin: 0;
	font-size: var(--step-1);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--ink);
}
.dx-news-card__summary {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--muted);
}
.dx-news-card__cta {
	margin-top: auto;
	padding-top: 8px;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--forest);
}
.dx-news-card[lang="ne"] .dx-news-card__title { line-height: 1.45; letter-spacing: 0; }
.dx-news-card[lang="ne"] .dx-news-card__summary { line-height: 1.8; }

/* 7. Footer --------------------------------------------------------------- */

.dx-footer { padding: 0 var(--gutter) 20px; }
.dx-footer .dx-footer-panel {
	max-width: var(--max);
	margin: clamp(24px, 4vw, 48px) auto 0;
	padding: clamp(36px, 5vw, 64px) clamp(22px, 5vw, 56px) 0 !important;
	background: var(--grad-mist), var(--grad-panel) !important;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
}
.dx-footer .dx-footer-panel > .elementor-container { max-width: 100%; }
.dx-footer .elementor-column > .elementor-widget-wrap { padding: 0 !important; }
.dx-footer .dx-footer-name .elementor-heading-title { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.dx-footer .dx-footer-tag p { margin: 0; max-width: 34ch; color: var(--text); font-size: var(--step-0); }
.dx-footer .dx-footer-label .elementor-heading-title {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--forest);
}
.dx-footer .dx-footer-links .elementor-icon-list-item { padding: 0 !important; }
.dx-footer .dx-footer-links .elementor-icon-list-item > a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
	color: var(--text);
	font-size: var(--step-0);
	text-decoration: none;
}
.dx-footer .dx-footer-links .elementor-icon-list-item > a:hover { color: var(--forest-deep); }
.dx-footer .dx-footer-links .elementor-icon-list-icon i,
.dx-footer .dx-footer-links .elementor-icon-list-icon svg { color: var(--forest); fill: var(--forest); width: 15px; font-size: 15px; }
.dx-footer .dx-footer-links .elementor-icon-list-text { color: inherit; }
.dx-footer .dx-footer-bottom {
	margin-top: clamp(28px, 4vw, 48px);
	padding: 18px 0 20px;
	border-top: 1px solid var(--rule-strong);
}
.dx-footer .dx-footer-bottom .elementor-column > .elementor-widget-wrap { align-items: center; }
.dx-footer .dx-footer-copy p { margin: 0; color: var(--text); font-size: var(--step--1); }
.dx-footer .dx-footer-top .elementor-button {
	min-height: 40px;
	padding: 0 16px !important;
	background: var(--surface) !important;
	border-color: var(--rule-strong) !important;
	color: var(--forest-deep) !important;
	box-shadow: none;
}
@media (max-width: 767px) {
	.dx-footer .dx-footer-panel .elementor-column { margin-bottom: 28px; }
	.dx-footer .dx-footer-bottom .elementor-column { margin-bottom: 8px; }
	.dx-footer .dx-footer-top { text-align: left; }
}
.dx-footer__fallback { padding: 32px var(--gutter); text-align: center; color: var(--text); }

/* 8. Motion --------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.dixit *, .dixit *::before, .dixit *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
	.dx-header.is-hidden { transform: none; }
}

/* 9. Footer lists, credit ------------------------------------------------- */

.dx-footer .elementor-icon-list-items,
.dx-footer .elementor-icon-list-item { list-style: none !important; margin-left: 0 !important; }
.dx-footer .elementor-icon-list-item::before,
.dx-footer .elementor-icon-list-item::marker { content: none !important; display: none !important; }
.dx-footer .dx-footer-links .elementor-icon-list-icon:empty { display: none; }
.dx-footer .dx-footer-credit p { margin: 0; text-align: right; color: var(--text); font-size: var(--step--1); }
.dx-footer .dx-footer-credit a { color: var(--forest-deep); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
.dx-footer .dx-footer-credit a:hover { background-size: 100% 1px; }
@media (max-width: 767px) { .dx-footer .dx-footer-credit p { text-align: left; } }

/* 10. Floating back-to-top ------------------------------------------------ */

.dixit .dx-totop {
	position: fixed;
	right: clamp(14px, 3vw, 28px);
	bottom: clamp(14px, 3vw, 28px);
	z-index: 900;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	background: rgba(251, 251, 246, 0.8);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: var(--shadow);
	color: var(--forest-deep);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background-color 0.2s var(--ease);
}
.dixit .dx-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.dixit .dx-totop:hover { background: var(--grad-button); color: var(--on-accent); border-color: transparent; }
.dx-totop__ring { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); transform: rotate(-90deg); }
.dx-totop__ring circle { fill: none; stroke: var(--rule); stroke-width: 2; }
.dx-totop__ring .dx-totop__progress { stroke: var(--forest); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: square; transition: stroke-dashoffset 0.1s linear; }
.dixit .dx-totop:hover .dx-totop__ring circle { stroke: rgba(255, 255, 255, 0.3); }
.dixit .dx-totop:hover .dx-totop__progress { stroke: #fff; }
.dx-totop__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 11. Pointer glow + reveal ----------------------------------------------- */

.dx-glow {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 0;
	width: 560px;
	height: 560px;
	margin: -280px 0 0 -280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 229, 191, 0.55) 0%, rgba(185, 202, 184, 0.35) 38%, transparent 68%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.6s var(--ease);
	will-change: transform;
}
.dx-glow.is-on { opacity: 1; }
.dixit #content,
.dixit .site-main,
.dixit .dx-footer { position: relative; z-index: 1; }

.dx-anim .dx-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	transition-delay: var(--dx-delay, 0ms);
}
.dx-anim .dx-reveal.is-in { opacity: 1; transform: none; }

/* 12. Awards -------------------------------------------------------------- */

.dx-awards { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.dx-award {
	position: relative;
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 6px 24px;
	padding: clamp(20px, 3vw, 28px);
	background: var(--surface);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.dx-award:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.dx-award__year {
	grid-row: span 3;
	align-self: start;
	display: grid;
	place-items: center;
	height: 72px;
	border-radius: var(--radius);
	background: var(--grad-button);
	color: var(--on-accent);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.dixit .dx-award__title { margin: 0; font-size: var(--step-1); font-weight: 600; line-height: 1.25; color: var(--ink); }
.dx-award__by { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest); }
.dx-award__note { margin: 4px 0 0; color: var(--text); line-height: 1.65; }
.dx-award--featured { background: var(--grad-mist), var(--grad-panel); border-color: var(--rule-strong); }
.dx-award__link { margin-top: 8px; font-weight: 600; font-size: var(--step--1); }
@media (max-width: 600px) {
	.dx-award { grid-template-columns: 1fr; }
	.dx-award__year { grid-row: auto; justify-self: start; height: auto; padding: 6px 12px; font-size: 16px; }
}
body.dixit .dx-awards-intro p { font-size: var(--step-1) !important; line-height: 1.45 !important; color: var(--ink) !important; max-width: 40ch; }

/* 13. Contact ------------------------------------------------------------- */

.dx-contact { display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .dx-contact { grid-template-columns: 1fr 2fr; align-items: start; } }
.dx-contact__aside {
	padding: clamp(22px, 3vw, 32px);
	background: var(--grad-mist), var(--grad-panel);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}
.dx-contact__aside h2 { margin: 0 0 10px; font-size: var(--step-1); }
.dx-contact__aside p { margin: 0 0 14px; color: var(--text); }
.dx-contact__aside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dx-contact__aside a { font-weight: 500; }
.dx-contact__main { padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.dx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; padding: 4px; background: var(--sage-wash); border-radius: var(--radius); }
.dx-tabs button {
	flex: 1 1 auto;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--radius);
	background: transparent;
	color: var(--forest-deep);
	font: 500 15px/1 var(--font);
	cursor: pointer;
}
.dx-tabs button[aria-selected="true"] { background: var(--grad-button); color: var(--on-accent); box-shadow: var(--shadow); }
.dx-tabpanel[hidden] { display: none; }
.dixit .wpcf7 label { display: block; margin-bottom: 14px; font-weight: 500; color: var(--ink); font-size: 15px; }
.dixit .wpcf7 .dx-hint { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.dixit .wpcf7 :is(input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], select, textarea) {
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	font: 400 16px/1.4 var(--font);
}
.dixit .wpcf7 textarea { min-height: 140px; resize: vertical; }
.dixit .wpcf7 :is(input, select, textarea):focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
.dixit .wpcf7 .dx-grid2 { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.dixit .wpcf7 input[type=submit] {
	min-height: 50px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--radius);
	background: var(--grad-button);
	color: var(--on-accent);
	font: 500 16px/1 var(--font);
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(35, 78, 53, 0.18);
}
.dixit .wpcf7 .wpcf7-not-valid-tip { color: #8A2A12; font-size: 14px; }
.dixit .wpcf7 .wpcf7-response-output { margin: 16px 0 0 !important; padding: 12px 14px !important; border-radius: var(--radius); border-color: var(--rule-strong) !important; }

/* Contact as a call-to-action in the header */
.dx-menu--desktop > .dx-menu-cta { margin-left: 6px; }
.dx-header .dx-menu--desktop > .dx-menu-cta > .dx-menu__link {
	background: var(--grad-button);
	color: var(--on-accent);
	padding: 10px 16px;
	box-shadow: 0 4px 12px rgba(35, 78, 53, 0.18);
}
.dx-header .dx-menu--desktop > .dx-menu-cta > .dx-menu__link:hover { filter: brightness(1.08); color: var(--on-accent); background: var(--grad-button); }
.dx-menu--mobile > .dx-menu-cta { border-bottom: 0; margin-top: 18px; }
.dx-header .dx-menu--mobile > .dx-menu-cta > .dx-menu__link {
	justify-content: center;
	min-height: 52px;
	border-radius: var(--radius);
	background: var(--grad-button);
	color: var(--on-accent);
	font-size: var(--step-0);
}
.dx-award__link { grid-column: 2; justify-self: start; }
@media (max-width: 600px) { .dx-award__link { grid-column: 1; } }
.dixit .wpcf7 .wpcf7-form-control-wrap { display: block; }
.dixit .wpcf7 .dx-grid2 > label { margin-bottom: 14px; }
@media (min-width: 1100px) and (max-width: 1240px) {
	.dx-header .dx-menu__link { padding: 10px 9px; font-size: 14.5px; }
	.dx-header__social { display: none !important; }
}

/* Parent items with their own link + caret button: highlight them as one unit. */
.dx-menu--desktop > .dx-menu__item--parent:has(> a.dx-menu__link) {
	border-radius: var(--radius);
	transition: background-color 0.2s var(--ease);
}
.dx-header .dx-menu--desktop > .dx-menu__item--parent:has(> a.dx-menu__link) > a.dx-menu__link {
	padding-right: 2px;
	background: none !important;
	box-shadow: none;
}
.dx-header .dx-menu--desktop > .dx-menu__item--parent > .dx-menu__toggle--icon {
	width: 26px;
	height: 38px;
	margin-left: 0;
	padding-right: 4px;
	background: none;
}
.dx-menu--desktop > .dx-menu__item--parent:has(> a.dx-menu__link):hover,
.dx-menu--desktop > .dx-menu__item--parent.is-expanded:has(> a.dx-menu__link) {
	background: rgba(124, 144, 131, 0.14);
}
.dx-menu--desktop > .dx-menu__item--parent:has(> a.dx-menu__link.is-active),
.dx-menu--desktop > .dx-menu__item--parent:has(> a.dx-menu__link[aria-current]) {
	background: var(--grad-button);
}
.dx-menu--desktop > .dx-menu__item--parent:has(> a.dx-menu__link.is-active) > *,
.dx-menu--desktop > .dx-menu__item--parent:has(> a.dx-menu__link[aria-current]) > * { color: var(--on-accent) !important; }

/* 14. Publications -------------------------------------------------------- */

.dx-pubs__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin: 0 0 22px;
}
.dx-pubs__stats > div {
	padding: 18px 20px;
	background: var(--grad-mist), var(--grad-panel);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}
.dx-pubs__stats dt { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); }
.dx-pubs__stats dd { margin: 6px 0 0; font-size: var(--step-2); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.dx-pubs__profiles dd { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--step-0) !important; letter-spacing: 0 !important; font-weight: 500 !important; }
.dx-pubs__profiles a { text-decoration: none; }
.dx-select select {
	min-height: 46px;
	padding: 0 38px 0 14px;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23355240' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
	-webkit-appearance: none;
	appearance: none;
	color: var(--ink);
	font: 500 15px/1 var(--font);
	cursor: pointer;
}
.dx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.dx-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 12px;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--forest-deep);
	font: 500 14px/1 var(--font);
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.dx-chip span { font-size: 12px; font-weight: 600; opacity: 0.75; font-variant-numeric: tabular-nums; }
.dx-chip:hover { background: var(--white); }
.dx-chip[aria-pressed="true"] { background: var(--grad-button); border-color: transparent; color: var(--on-accent); }
.dx-pubs__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dx-pub { grid-template-columns: 64px 1fr; align-items: start; }
.dx-pub__year {
	display: grid;
	place-items: center;
	height: 36px;
	border-radius: var(--radius);
	background: var(--sage-wash);
	color: var(--forest-deep);
	font-size: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.dx-pub__main { min-width: 0; }
.dx-pub__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.dx-pub__meta em { color: var(--forest); font-style: italic; font-weight: 500; }
.dx-pub__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.dx-tag { padding: 3px 8px; border-radius: var(--radius); background: var(--sage-wash); color: var(--forest-deep); font-size: 12.5px; font-weight: 600; }
.dx-tag--plain { background: transparent; border: 1px solid var(--rule-strong); color: var(--text); font-weight: 500; }
.dx-tag--oa { background: var(--butter); color: var(--ink); }
.dx-pub__doi { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.dx-pubs__source { margin: 18px 0 0; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 600px) {
	.dx-pub { grid-template-columns: 1fr; }
	.dx-pub__year { justify-self: start; padding: 0 10px; height: 28px; }
	.dx-pubs__bar .dx-select { flex: 1 1 45%; }
	.dx-pubs__bar .dx-select select { width: 100%; }
}

/* Neutralise Hello reset's pink (#c36) button hover/focus everywhere we use buttons. */
.dixit .dx-tabs button:is(:hover, :focus) { background: rgba(255, 255, 255, 0.7); color: var(--forest-deep); border-color: transparent; }
.dixit .dx-tabs button[aria-selected="true"]:is(:hover, :focus) { background: var(--grad-button); color: var(--on-accent); }
.dixit .dx-chip:is(:hover, :focus) { background: var(--white); color: var(--forest-deep); border-color: var(--forest); }
.dixit .dx-chip[aria-pressed="true"]:is(:hover, :focus) { background: var(--grad-button); color: var(--on-accent); border-color: transparent; }
.dixit .dx-header .dx-menu__toggle:is(:hover, :focus) { background: rgba(124, 144, 131, 0.14); color: var(--ink); border-color: transparent; }
.dixit .dx-header .dx-menu__toggle--icon:is(:hover, :focus) { background: none; color: inherit; }
.dixit .dx-header .dx-header__menu-btn:is(:hover, :focus) { background: var(--grad-button); color: var(--on-accent); filter: brightness(1.08); }
.dixit .wpcf7 input[type=submit]:is(:hover, :focus) { background: var(--grad-button); color: var(--on-accent); filter: brightness(1.08); }
.dixit :is(button, [type=button], [type=submit], a, input, select, textarea):focus-visible { box-shadow: none; outline: 2px solid var(--forest); outline-offset: 2px; }

/* Footer lists: remove the default list indent. */
.dx-footer .elementor-icon-list-items { padding: 0 !important; margin: 0 !important; }
.dx-footer .elementor-icon-list-item > a { padding-left: 0; }

/* Hero one-line subhead (replaces the role chips). */
.dixit-home .dx-subhead p {
	margin: 0;
	max-width: 34ch;
	font-size: var(--step-1);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: -0.01em;
	color: var(--text);
}

/* 15. News component + video library -------------------------------------- */

.dx-news__grid,
.dx-videos__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 18px;
}
.dx-news__grid > [hidden], .dx-videos__grid > [hidden] { display: none !important; }
.dx-news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dx-news-card__meta time { font-size: 13px; color: var(--muted); }

.dx-vtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.dx-vtabs .dx-chip { min-height: 44px; padding: 0 16px; font-size: 15px; }

.dx-video {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.dx-video:hover { box-shadow: var(--shadow-lift); border-color: var(--rule-strong); transform: translateY(-2px); }
.dixit .dx-video__play {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--grad-mist), var(--grad-panel);
	overflow: hidden;
	cursor: pointer;
}
.dixit .dx-video__play:is(:hover, :focus) { background: var(--grad-mist), var(--grad-panel); }
.dx-video__play img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.5s var(--ease); }
.dx-video__play:hover img { transform: scale(1.04); }
.dx-video__icon {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 64px;
	height: 44px;
	margin: -22px 0 0 -32px;
	border-radius: var(--radius);
	background: var(--grad-button);
	box-shadow: 0 8px 20px rgba(35, 78, 53, 0.35);
	transition: transform 0.2s var(--ease);
}
.dx-video__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -8px 0 0 -5px;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #fff;
}
.dx-video__play:hover .dx-video__icon { transform: scale(1.08); }
.dx-video__ext {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 6px 10px;
	border-radius: var(--radius);
	background: var(--grad-button);
	color: var(--on-accent);
	font-size: 13px;
	font-weight: 600;
}
.dx-video__play--ext:not(:has(img))::before {
	content: "▶";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 34px;
	color: rgba(53, 82, 64, 0.35);
}
.dx-video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--sage-panel); }
.dx-video__frame iframe,
.dx-video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
.dx-video__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.dx-video__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 13px; color: var(--muted); }
.dixit .dx-video__title {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--ink);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.dx-video__title a { color: inherit; text-decoration: none; }
.dx-video[lang="ne"] .dx-video__title { line-height: 1.5; letter-spacing: 0; }
.dx-video__channel { margin: 0; font-size: 14px; color: var(--muted); }
.dixit-home .dx-facts .dx-intro p.dx-asof { margin-top: 10px; font-size: var(--step--1); color: var(--text); }

/* Header: make link+arrow items ("About") match button items ("Media", "Publications"). */
.dx-header .dx-menu--desktop > .dx-menu__item--parent:has(> a.dx-menu__link) > a.dx-menu__link { padding-right: 0; }
.dx-header .dx-menu--desktop > .dx-menu__item--parent > .dx-menu__toggle--icon {
	width: auto;
	height: 38px;
	margin: 0;
	padding: 0 12px 0 6px;
	color: var(--text);
}
.dx-header .dx-menu--desktop > .dx-menu__item--parent:hover > .dx-menu__toggle--icon,
.dx-header .dx-menu--desktop > .dx-menu__item--parent.is-expanded > .dx-menu__toggle--icon { color: var(--ink); }
.dx-header .dx-menu--desktop .dx-caret { width: 7px; height: 7px; border-width: 0 1.5px 1.5px 0; }
