:root {
	--blur-border-width: 2px;
	--blur-border-effect: 20px;
	--blur-border-effect-large: 30px;
	--blur-torus-size: 10px;
	--blur-torus-size-large: 18px;
	--circle-3d-size: 2.7em;
	--circle-3d-logo: 12em;
	--glass-border: 1px;
	font-display: swap
}

.git-calendar {
	width: 100%;
	text-align: center;
	border-radius: 16px;
	color: #323232;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.5) inset;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	height: auto;
	margin: 10px auto;
	margin-top: 20px;
	margin-bottom: 25px;
	padding: 0.5em 0.5em 0.5em 0.5em;
	transition: all 0.3s ease;
}

.git-calendar object {
	width: 110%;
	height: auto;
	max-width: none;
	margin-left: -5%;
	pointer-events: none;
}


#git-commits-cell {
	color: #e5e5e5ff;
	padding: 3px;
	margin-bottom: -1em;
	font-size: 0.8em;
	font-style: italic;
	transition: color 0.5s ease-in-out;
	font-weight: 800
}

.dark-mode #git-commits-cell {
	color: #b0b0b0;
}

#git-commits-year {
	color: #e5e5e5ff;
	padding: 3px;
	padding-bottom: 4px;
	font-size: 0.8em;
	font-style: italic;
	transition: color 0.5s ease-in-out;
	font-weight: 800
}

.dark-mode #git-commits-year {
	color: #b0b0b0;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
li {
	transition: color .5s ease-in-out;
	-webkit-transition: color .5s ease-in-out;
}

@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

body,
html {
	margin: 0;
	padding: 0;
	font-family: 'Quicksand', Helvetica, Arial, sans-serif;
	background: linear-gradient(135deg, #ffe8e0 0%, #fff5f0 20%, #f7f7f7 40%, #fff0f5 60%, #ffe5e0 80%, #ffeee8 100%);
	background-size: 400% 400%;
	animation: gradientShift 20s ease infinite;
	color: #333;
	height: 100%;
	width: 100%;
	min-height: 100vh;
	overflow: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: background .5s ease-in-out;
	-webkit-transition: background .5s ease-in-out;
}

body {
	padding-bottom: calc(30px + 5vh);
    box-sizing: border-box;
}

a:link {
	color: #333;
	transition: color .5s ease-in-out
}

a:visited {
	color: #333;
	transition: color .5s ease-in-out
}

a:hover {
	color: #79b0f9;
	text-decoration: underline;
	transition: color .2s ease-in-out
}

.dark-mode a:hover {
	color: #79b0f9;
	text-decoration: underline
}

.content {
	max-width: 840px;
	position: relative;
	z-index: 2;
	margin: auto;
	margin-top: calc(30px + 5vh);
	padding: 30px;
	padding-bottom: 50px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 24px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 
	            0 0 0 1.5px rgba(255, 255, 255, 0.8) inset,
	            0 1px 0 rgba(255, 255, 255, 0.9) inset;
	backdrop-filter: blur(40px) saturate(180%);
	-webkit-backdrop-filter: blur(40px) saturate(180%);
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	box-sizing: border-box;
	overflow: visible;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out
}

#git-calendar-image {
	transition: opacity 0.5s ease-in-out;
	-webkit-transition: opacity 0.5s ease-in-out;
}

.centered {
	text-align: center;
}

.year {
	transition: color .5s ease-in-out;
	color: #e5e5e5ff;
	margin-bottom: -2em;
	font-style: italic;
	font-weight: 1000;
}

.row {
	display: flex;
	align-items: center;
	justify-content: space-around;
	margin-bottom: 40px;
	margin-top: 20px
}

.circle-3d-model {
	width: var(--circle-3d-logo);
	height: var(--circle-3d-logo);
	background-color: #f7f7f7;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	transition: all .3s ease-out;
	transition: background-color, transform .5s ease-in-out;
	-webkit-transition: background-color, transform .5s ease-in-out;
	transform-style: preserve-3d;
	perspective: 1000px;
	cursor: pointer;
	z-index: 10;
}

.circle-3d-model::after {
	content: '';
	position: absolute;
	top: calc(-1 * var(--blur-torus-size-large));
	left: calc(-1 * var(--blur-torus-size-large));
	right: calc(-1 * var(--blur-torus-size-large));
	bottom: calc(-1 * var(--blur-torus-size-large));
	border-radius: 50%;
	padding: var(--blur-torus-size-large);
	background: #fff0;
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: destination-out;
	mask-composite: exclude;
	backdrop-filter: blur(var(--blur-border-effect-large));
	-webkit-backdrop-filter: blur(var(--blur-border-effect-large));
	transition: all .3s ease-out;
	transform-style: preserve-3d;
	pointer-events: none;
}

.circle-3d-model:hover {
	transition: all .3s ease-out;
}

.circle-3d-model:hover::after {
	top: calc(-1.3 * var(--blur-torus-size-large));
	left: calc(-1.3 * var(--blur-torus-size-large));
	right: calc(-1.3 * var(--blur-torus-size-large));
	bottom: calc(-1.3 * var(--blur-torus-size-large));
	padding: calc(1.3* var(--blur-torus-size-large));
	transition: all .6s ease-out;
}

.circle-3d-model.tilt {
	transition: transform 0.1s ease-out !important;
}

.circle-3d-model.tilt::after {
	transition: all 0.1s ease-out !important;
}

.circle-3d-model.tilt:hover {
	transform: inherit !important;
}


.circle-3d-model canvas,
.circle-empty canvas,
.dark-mode-toggle canvas {
	border-radius: 50%;
	object-fit: cover;
	overflow: hidden
}

.circle-3d-model img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	transition: transform 0.5s ease-out;
}

#darkModeToggle img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 49.5%;
	border-radius: 50%;
	transform: translate(-50%, -50%)
}

.circle-3d-model {
	pointer-events: none
}

.circle-3d-model canvas {
	pointer-events: auto
}

#darkModeToggle img,
#darkModeToggle #torus {
	pointer-events: none
}

#darkModeToggle canvas {
	pointer-events: auto
}

h1,
h2,
h3,
p {
	font-family: 'Quicksand', sans-serif
}

h3 {
	margin-bottom: .5em
}

h1 {
	font-size: 1.3em
}

h1,
h2 {
	color: #1a1a1a
}

h2 {
	font-size: 1.15em;
	margin-bottom: 0.5em;
	text-align: center;
}

p {
	line-height: 1.5;
	padding-left: .8em;
	padding-right: .8em;
	padding-top: .5em
}

.icons-group {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  height: 80px;
}

.icons-group .dark-mode-toggle {
	margin: 0;
}

.vertical-separator {
	width: 1px;
	height: calc(var(--circle-3d-size) * 0.5);
	background-image: linear-gradient(to bottom, #e5e5e5, #e5e5e5 30%, transparent 30%);
	background-size: 1px 4px;
	background-repeat: repeat-y;
}

.dark-mode .vertical-separator {
	background-image: linear-gradient(to bottom, #343434, #343434 30%, transparent 30%);
}

.social-icons {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.social-icons li {
	display: inline;
}

.social-icons li a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: var(--circle-3d-size);
	height: var(--circle-3d-size);
	background: rgba(247, 247, 247, 0.6);
	border-radius: 50%;
	color: #323232;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.5) inset;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: var(--glass-border) solid rgba(255, 255, 255, 0.3);
	position: relative;
	text-decoration: none;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

.social-icons li a:hover {
	background: rgba(255, 255, 255, 0.85);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 
	            0 0 0 1.5px rgba(255, 255, 255, 0.9) inset,
	            0 1px 0 rgba(255, 255, 255, 1) inset;
	transform: translateY(-2px) scale(1.05);
	transition: all .2s ease-out;
	-webkit-transition: all .2s ease-out;
}

#darkModeToggle {
	width: var(--circle-3d-size);
	height: var(--circle-3d-size);
	border-radius: 50%;
	color: #323232;
	text-align: center;
	position: relative;
}

@keyframes waveAnimation {
    0%, 100% { transform: rotate(0deg); }
	50% { transform: rotate(25deg); }
    100% { transform: rotate(0deg); }
}

.centered h1:hover .wave {
    display: inline-block;
	animation: waveAnimation .7s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
}

.waveOnLoad {
	display: inline-block;
    animation: waveAnimation .7s cubic-bezier(0.39, 0.575, 0.565, 1) 2;
}


#torus {
	width: var(--circle-3d-size);
	height: var(--circle-3d-size);
	border-radius: 50%;
	color: #323232;
	text-align: center;
	position: relative;
	text-decoration: none;
	pointer-events: none;
	overflow: visible;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

#torus::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	border-radius: 50%;
	background: rgba(247, 247, 247, 0.6);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.5) inset;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: var(--glass-border) solid rgba(255, 255, 255, 0.3);
	z-index: -1;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}

#darkModeToggle:hover #torus::before {
	background: rgba(247, 247, 247, 0.8);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.7) inset;
	transition: all .2s ease-out;
	-webkit-transition: all .2s ease-out;
}

#darkModeToggle #mode-toggle,
#darkModeToggle #torus {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%
}

.dark-mode #torus::before {
	background: rgba(50, 50, 50, 0.6);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.1) inset;
	border: var(--glass-border) solid rgba(255, 255, 255, 0.1);
}

.dark-mode #darkModeToggle:hover #torus::before {
	background: rgba(50, 50, 50, 0.8);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.2) inset;
}

a>i {
	pointer-events: none
}

.dark-mode body {
	background: linear-gradient(135deg, #2a2220 0%, #322a28 20%, #323232 40%, #2d2a2f 60%, #2f2624 80%, #2a2422 100%);
	background-size: 400% 400%;
	animation: gradientShift 20s ease infinite;
	color: #f7f7f7
}

.dark-mode .content {
	background: rgba(50, 50, 50, 0.45);
	border-radius: 24px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 
	            0 0 0 1.5px rgba(255, 255, 255, 0.15) inset,
	            0 1px 0 rgba(255, 255, 255, 0.2) inset;
	backdrop-filter: blur(40px) saturate(180%);
	-webkit-backdrop-filter: blur(40px) saturate(180%);
	border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode p,
.dark-mode a {
	color: #f7f7f7
}

.dark-mode .social-icons li a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: var(--circle-3d-size);
	height: var(--circle-3d-size);
	background: rgba(50, 50, 50, 0.6);
	border-radius: 50%;
	color: #f7f7f7;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.1) inset;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: var(--glass-border) solid rgba(255, 255, 255, 0.1);
	position: relative;
	text-decoration: none
}

.dark-mode .social-icons li a:hover {
	background: rgba(80, 80, 80, 0.85);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 
	            0 0 0 1.5px rgba(255, 255, 255, 0.25) inset,
	            0 1px 0 rgba(255, 255, 255, 0.3) inset;
	transform: translateY(-2px) scale(1.05);
}

.tooltip {
	position: relative;
	display: inline-block
}

.tooltip-text {
	visibility: hidden;
	width: 120px;
	background-color: #000;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	position: absolute;
	z-index: 1
}

.tooltip:hover .tooltip-text {
	visibility: visible
}

.dark-mode .circle-3d-model,
.dark-mode .circle-empty {
	background-color: #323232
}

.dark-mode .tooltip-text {
	background-color: #e7e7e7;
	color: #333
}

.dark-mode .year {
	color: #b0b0b0
}

.dark-mode .git-calendar {
	background: rgba(53, 53, 53, 0.7);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.1) inset;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: var(--glass-border) solid rgba(255, 255, 255, 0.1);
}

ul.custom-list {
	list-style: none;
	padding: 0;
	margin: 0
}

ul.custom-list li {
	margin-left: .5em;
	margin-right: .5em;
	margin-bottom: .6em;
	padding-left: 20px;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M 35 20 L 65 50 L 35 80" stroke="%23333" stroke-width="8" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
	background-repeat: no-repeat;
	background-size: 14px 14px;
	background-position: 0 4px;
	position: relative;
	list-style-type: none;
}

.dark-mode ul.custom-list li {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M 35 20 L 65 50 L 35 80" stroke="%23f7f7f7" stroke-width="8" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.hr-container {
	position: relative;
	height: 1px;
	margin-top: 14px;
	margin-bottom: 14px;
}

.light-hr {
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right, #e5e5e5, #e5e5e5 50%, transparent 50%);
	background-size: 16px 1px;
	background-repeat: repeat-x;
	position: absolute;
	width: 100%;
	transition: opacity 0.5s ease-in-out;
}

.dark-hr {
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right, #343434, #343434 50%, transparent 50%);
	background-size: 16px 1px;
	background-repeat: repeat-x;
	position: absolute;
	width: 100%;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.dark-mode .light-hr {
	opacity: 0;
}

.dark-mode .dark-hr {
	opacity: 1;
}

.hr-container-small {
	position: relative;
	height: 1px;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	width: 30%;
	margin-left: auto;
	margin-right: auto;
}

.research-pills + .hr-container-small {
	margin-top: 1.2em;
	margin-bottom: 0.3em;
}

.hr-container-small + .research-pills {
	margin-top: 1em;
}

.hr-container-small + .publications-section {
	margin-top: 1em;
}

.light-hr-small {
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right, #e5e5e5, #e5e5e5 30%, transparent 30%);
	background-size: 20px 1px;
	background-repeat: repeat-x;
	position: absolute;
	width: 100%;
	transition: opacity 0.5s ease-in-out;
}

.dark-hr-small {
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right, #343434, #343434 30%, transparent 30%);
	background-size: 20px 1px;
	background-repeat: repeat-x;
	position: absolute;
	width: 100%;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.dark-mode .light-hr-small {
	opacity: 0;
}

.dark-mode .dark-hr-small {
	opacity: 1;
}


.pub-year-row {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  margin: 2em 0 1em 0;
}
.pub-year {
  font-size: 1.05em;
  font-weight: 900;
  color: #b90f22;
  letter-spacing: 0.04em;
  line-height: 1.1;
  min-width: 60px;
  text-shadow: 0 2px 8px #0001;
}
.dark-mode .pub-year {
  color: #ffb3b3;
  text-shadow: 0 2px 8px #0003;
}
.pub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.pub-item {
  margin-bottom: 0.7em;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--glass-border) solid rgba(255, 255, 255, 0.3);
  padding: 0.7em 1.2em 0.7em 1.2em;
  transition: all 0.3s ease;
  position: relative;
}
.dark-mode .pub-item {
  background: rgba(53, 53, 53, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.1) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--glass-border) solid rgba(255, 255, 255, 0.1);
}
.pub-title {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.1;
  color: #1a1a1a;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 0;
  margin: 0;
  outline: none;
  transition: color 0.2s;
  position: relative;
  margin-bottom: 0.25em;
}
.pub-title::after {
  content: '';
  float: right;
  width: 0.65em;
  height: 0.65em;
  margin-left: 0.5em;
  margin-top: 0.25em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  opacity: 0.6;
}
.pub-item.active .pub-title::after {
  transform: rotate(-135deg);
  margin-top: 0.35em;
}
.dark-mode .pub-title {
	color: #f7f7f7;
}
.pub-meta {
  font-size: 0.97em;
  font-style: italic;
  color: #888;
  margin-bottom: 0.6em;
  margin-top: 0.2em;
  display: block;
}
.dark-mode .pub-meta {
  color: #b0b0b0;
}
.pub-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 0.97em;
  font-weight: 600;
  border-radius: 16px;
  padding: 0.18em 0.8em 0.18em 0.6em;
  background: rgba(243, 243, 243, 0.7);
  color: #333;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: var(--glass-border) solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  width: 9.5em;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.pub-download-btn:hover {
  background: rgba(229, 229, 229, 0.9);
  color: #333;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.6) inset;
}
.pub-download-btn i {
  font-size: 1em;
  transform: translateY(1px);
}
.dark-mode .pub-download-btn {
  background: rgba(35, 35, 35, 0.7);
  color: #eee;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.1) inset;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: var(--glass-border) solid rgba(255, 255, 255, 0.1);
}
.dark-mode .pub-download-btn:hover {
  background: rgba(42, 42, 42, 0.9);
  color: #eee;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.15) inset;
}
.pub-download-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 0.6em;
  font-size: 0.95em;
  align-items: center;
}
.pub-version-note {
  font-size: 0.9em;
  color: #888;
  font-style: italic;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0.18em 0;
}
.dark-mode .pub-version-note {
  color: #b0b0b0;
}
.pub-separator {
  height: 1px;
  background-image: linear-gradient(to right, #e5e5e5, #e5e5e5 30%, transparent 30%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  margin: 0.4em 0;
  width: 100%;
  transition: opacity 0.5s ease-in-out;
}
.dark-mode .pub-separator {
  background-image: linear-gradient(to right, #343434, #343434 30%, transparent 30%);
}
.pub-authors-badges {
  margin-bottom: 0.5em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 0.6em;
}
.author-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.97em;
  font-weight: 600;
  border-radius: 16px;
  padding: 0.18em 0.8em 0.18em 0.6em;
  background: rgba(243, 243, 243, 0.7);
  color: #333;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: var(--glass-border) solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  width: 9.5em;
  justify-content: center;
  text-align: center;
}
.author-badge .affil {
  font-size: 0.93em;
  font-weight: 400;
  margin-left: 0.4em;
  opacity: 0.8;
}
.author-badge.tu {
  background: #ffe5e5;
  color: #b90f22;
}
.author-badge.ucl {
  background: #e5eaff;
  color: #0e1e3e;
}
.author-badge.brsu {
  background: #e5f2ff;
  color: #3F8FD6;
}
.author-badge.unb {
  background: #ffe9e5;
  color: #D15D38;
}
.dark-mode .author-badge {
  background: rgba(35, 35, 35, 0.7);
  color: #eee;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.1) inset;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: var(--glass-border) solid rgba(255, 255, 255, 0.1);
}
.dark-mode .author-badge.tu {
  background: #b90f22;
  color: #fff;
}
.dark-mode .author-badge.ucl {
  background: #0e1e3e;
  color: #fff;
}
.dark-mode .author-badge.brsu {
  background: #3F8FD6;
  color: #fff;
}
.dark-mode .author-badge.unb {
  background: #D15D38;
  color: #fff;
}
.pub-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  margin-top: 0;
  padding-left: 0.2em;
}
.pub-item.active .pub-details {
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.7s cubic-bezier(0.4,0,0.2,1), opacity 0.4s;
}
.pub-authors {
  font-size: 0.97em;
  color: #555;
  margin-bottom: 0.3em;
}
.dark-mode .pub-authors {
  color: #e0e0e0;
}
.pub-abstract {
  font-size: 0.97em;
  color: #333;
  margin-bottom: 0.3em;
}
.dark-mode .pub-abstract {
  color: #f7f7f7;
}
.pub-links {
  margin-top: 0.2em;
}
.pub-links a {
  display: inline-block;
  background: #b90f22;
  color: #fff;
  font-size: 0.97em;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.18em 0.8em;
  margin-right: 0.5em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.pub-links a:hover {
  background: #323232;
  color: #fff;
}
.dark-mode .pub-links a {
  background: #ffb3b3;
  color: #323232;
}
.dark-mode .pub-links a:hover {
  background: #b90f22;
  color: #fff;
}
.pub-conf {
  font-size: 0.97em;
  font-style: italic;
  color: #666;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
  display: block;
}
.dark-mode .pub-conf {
  color: #e0e0e0;
}
@media (max-width: 600px) {
  .pub-year-row {
    flex-direction: column;
    gap: 0.5em;
    align-items: flex-start;
  }
  .pub-year {
    font-size: 0.95em;
    min-width: 0;
    margin-bottom: 0.5em;
  }
  .pub-title {
    font-size: 0.95em;
  }
  .pub-item {
    padding: 0.7em 0.7em 0.7em 0.7em;
  }
}


@media screen and (max-width: 767px) {
	.content {
		margin: auto 6vw;
		margin-top: 5vh
	}

	:root {
		--circle-3d-size: 2.5em;
		--circle-3d-logo: 20vw;
		--blur-border-effect-large: 14px;
		--blur-torus-size-large: 2vw
	}
	
	.row {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.circle-3d-model {
		margin-bottom: 25px;
	}
	
	.icons-group {
		height: 60px;
		gap: 10px;
	}
	
	.social-icons {
		gap: 8px;
	}
	
	.git-calendar {
		width: 100%;
		margin-left: 0;
	}
	
	.git-calendar object {
		width: 100%;
		margin-left: 0;
	}
	
	#git-commits-year {
		font-size: 0.9em;
		display: block;
	}
}

@media screen and (max-width: 487px) {
	.row {
		flex-direction: column;
		align-items: center;
		text-align: center
	}

	.circle-3d-model {
		width: 35vw;
		height: 35vw;
		margin-bottom: 30px
	}

	.content {
		margin: auto 2vw;
		margin-top: 1.5vh
	}

	:root {
		--circle-3d-size: 8vw;
		--circle-3d-logo: 16vw;
		--blur-border-effect-large: 14px;
		--blur-torus-size-large: 12px
	}
	
	.icons-group {
		height: 50px;
		gap: 8px;
	}
	
	.social-icons {
		gap: 6px;
	}
	
	.git-calendar {
		width: 100%;
		margin-left: 0;
	}
	
	.git-calendar object {
		width: 100%;
		margin-left: 0;
	}
	
	#git-commits-year {
		font-size: 0.85em;
		display: block;
	}
}

@media screen and (max-width: 420px) {
	.content {
		margin: auto 2vw;
		margin-top: 1.5vh
	}

	:root {
		--circle-3d-size: 9vw;
		--circle-3d-logo: 14vw;
		--blur-border-effect-large: 14px;
		--blur-torus-size-large: 12px
	}
}

@media screen and (max-width: 375px) {
	.row {
		flex-direction: column;
		align-items: center;
		text-align: center
	}
}

.pub-details, .pub-authors-badges, .author-badge, .pub-abstract, .pub-links {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-variant-ligatures: none;
  letter-spacing: 0.01em;
}

.pub-authors-short {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 0.6em;
  font-size: 0.95em;
  color: #aaa;
  margin-bottom: 0.2em;
  margin-top: -0.1em;
  letter-spacing: 0.01em;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  margin-bottom: 0.5em;
}
.dark-mode .pub-authors-short {
  color: #bdbdbd;
}

.edu-ongoing {
  font-style: italic;
  color: #b0b0b0;
  font-size: 0.97em;
  margin-left: 0.3em;
  vertical-align: baseline;
}
.edu-ongoing::before {
  content: '\2022';
  color: #b0b0b0;
  font-size: 1.1em;
  margin-right: 0.3em;
  vertical-align: baseline;
}

.edu-affil {
  color: #b0b0b0;
  font-style: italic;
  font-size: 0.97em;
  float: right;
  margin-left: 1em;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .edu-affil {
    float: none;
    display: block;
    margin-left: 0;
    margin-top: 0.2em;
    text-align: right;
  }
}

.pub-title {
  margin-bottom: 0.15em;
}
.pub-authors-short {
  margin-bottom: 0.2em;
}
.pub-item.active .pub-authors-short {
  margin-bottom: 0.2em;
}

.author-badge .author-name {
  display: inline;
}
.author-badge .author-affil {
  display: none;
  margin-left: 0.3em;
}
.author-badge:hover .author-name {
  display: none;
}
.author-badge:hover .author-affil {
  display: inline;
}

.research-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 0.7em;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 1em;
  justify-content: center;
}
.research-pills li {
  background: rgba(243, 243, 243, 0.7);
  color: #333;
  border-radius: 16px;
  padding: 0.18em 0.9em;
  font-size: 1em;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: var(--glass-border) solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  transition: all 0.3s ease;
}
.dark-mode .research-pills li {
  background: rgba(35, 35, 35, 0.7);
  color: #eee;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.1) inset;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: var(--glass-border) solid rgba(255, 255, 255, 0.1);
}

.publications-section {
  margin-top: 0.5em;
  padding-top: 0;
}
.pub-year-row {
  margin: 0;
}
.research-pills, .custom-list, .pub-list {
  margin-top: 0;
}

h2 {
  margin-bottom: 0.5em;
}
.custom-list, .research-pills, .pub-list {
  margin-top: 0;
}

.custom-list.sub {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
  margin-left: 1.2em;
  padding-left: 0.7em;
  font-size: 0.97em;
  list-style-type: disc;
}

.research-intro {
  margin-top: 1.2em;
  margin-bottom: 0.7em;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--glass-border) solid rgba(255, 255, 255, 0.3);
  padding: 0.7em 1.2em 0.7em 1.2em;
  transition: all 0.3s ease;
  position: relative;
}

.dark-mode .research-intro {
  background: rgba(53, 53, 53, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 var(--glass-border) rgba(255, 255, 255, 0.1) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--glass-border) solid rgba(255, 255, 255, 0.1);
}

.research-intro p {
  color: #333;
  line-height: 1.5;
  margin: 0;
  font-size: 1em;
  padding: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
}

.dark-mode .research-intro p {
  color: #f7f7f7;
}

.publications-placeholder {
  text-align: center;
  margin: 2em 0;
}

.publications-placeholder p {
  color: #b0b0b0;
  font-style: italic;
  font-size: 1em;
  margin: 0;
  padding: 0;
}

.dark-mode .publications-placeholder p {
  color: #666;
}

.research-statement {
  background: #f8f9fa;
  padding: 2em;
  border-radius: 16px;
  border-left: 5px solid #b90f22;
  margin: 1em 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.dark-mode .research-statement {
  background: #2a2a2a;
  border-left-color: #ffb3b3;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.research-statement p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1em;
  font-size: 1em;
}

.dark-mode .research-statement p {
  color: #e0e0e0;
}

.research-statement p:last-child {
  margin-bottom: 0;
}

.highlight {
  font-weight: 600;
  color: #1a1a1a;
  transition: color 0.5s ease-in-out;
}

.dark-mode .highlight {
  color: #f7f7f7;
}

@media (max-width: 768px) {
  .research-statement {
    padding: 1.5em;
  }
}

@media (max-width: 480px) {
  .research-statement {
    padding: 1.2em;
  }
  .research-intro {
    padding: 0.7em 0.7em 0.7em 0.7em;
  }
}