html {
	font-size: 62.5%;
}

body {
	background-color: #FFFFFF;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 1.6rem;
	line-height: 1.6em;
	color: #555;
	margin: 0;
}

/*general style*/

a {
    color: #555;
	/* text-decoration: none; */
    -webkit-transition: color ease 0.3s;
	    -moz-transition: color ease 0.3s;
	    -ms-transition: color ease 0.3s;
	    transition: color ease 0.3s;
}

a:hover {
	color: #049;
	text-decoration: underline;
}

a:focus {
	outline: 5px auto 0;
	outline-offset: -2px;
}

p {
	margin:0 0 1em;
}

img {
	max-width: 100%;
	width: auto;
	height: auto;
	border: 0;
	-ms-interpolation-mode:bicubic;
}

h1,
h2 {
	font-weight: 500;
	text-rendering: optimizelegibility;
}

h1 {
	font-size: 28px;
	font-size: 2.8rem;
	margin: 1em 0;
}

h2 {
	font-size: 22px;
	font-size: 2.2rem;
	margin: 1em 0;
}

ul,
ol {
	margin: 0;
	margin-left: 30px;
	padding: 0;
}

ul {
	list-style:disc;
}

ol {
	list-style:decimal;
}

li {
	padding-left: 8px;
	margin-bottom: 1em;
}

/*specify content style*/
/* Blog list / post summary styling */
.post-summary {
  padding: 1.0rem 0;
  border-bottom: none;
}

/* Make the link fill the whole article box */
.post-summary .post-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem 0;          /* optional: interior padding */
}

/* Hover effect and pointer cursor on the whole card */
.post-summary .post-link:hover {
  background: #f5f5f5;         /* light gray hover */
}

/* Keep your existing title styles */
.post-title {
  margin: 0 0 0.25rem 0;
  font-family: "Noto Serif", serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.post-meta {
  color: #666;
  font-size: 1.0rem;
  margin-bottom: 0.35rem;
  font-family: "Open Sans", sans-serif;
}

.post-abstract {
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.muted {
  color: #666;
  margin-top: 0.25rem;
}

.pagination a {
  text-decoration: none;
  color: inherit;
  padding: 0.25rem 0.5rem;
}

/* Position the back link in the top-left without changing flow */
.section.profile {
  position: relative;
}


code .code-removed {
    display: inline-block;           /* extend background across full line width */
    background: rgba(231, 76, 60, 0.18);   /* red-ish */
    text-decoration: line-through;
    padding-right: 1em;
    border-radius: 3px;
}

code .code-added {
    display: inline-block;           /* extend background across full line width */
    background: rgba(46, 204, 113, 0.18);  /* green-ish */
    padding-right: 1em;
    border-radius: 3px;
}

.footnote-source {
  display: none;
}

.footnote-ref {
  display: inline-block;
  vertical-align: super;
  font-size: 0.85em;
  line-height: 1;
  margin-left: 0.2em;
  cursor: pointer;
  color: inherit;
  padding: 0.05rem 0.15rem;
  border-radius: 0.25rem;
}
.footnote-ref:focus { outline: 2px solid rgba(0,0,0,0.12); }

/* floating right-side box */
.footnote-box {
  position: fixed;
  right: 1.25rem;
  top: 15vh;                 /* default vertical offset */
  max-width: 40ch;
  width: min(40ch, 38vw);
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  z-index: 2000;
  font-size: 0.95rem;
  line-height: 1.5;
  display: none;            /* shown by JS */
}

/* visible state */
.footnote-box.show { display: block; }

/* small header inside box (number + close) */
.footnote-box .fn-head {
  display:flex; justify-content:space-between; align-items:center;
  gap:0.5rem; margin-bottom:0.4rem;
}
.footnote-box .fn-num { font-weight:700; font-family: "Open Sans", sans-serif; }
.footnote-box .fn-close { background:transparent; border:none; cursor:pointer; font-size:0.95rem; color:#666; }

/* adapt on narrow screens */
@media (max-width: 640px) {
  .footnote-box { right: 0.75rem; left: 0.75rem; width: auto; max-width: none; top: 10vh; }
}


.back-left {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  text-decoration: none;
  color: inherit;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.back-left i { margin: 0}

.code-wrap { position: relative; }
.copy-btn {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  background: rgba(0,0,0,0.06);
  border: none;
  padding: .25rem .5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}


pre {
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 1rem;
  margin: 1rem 0;
}

code {
  font-family: Menlo, monospace;
  font-size: inherit;
  white-space: pre;
}

.header-separator {
  display: block;             /* ensure it's a block-level rule */
  box-sizing: border-box;     /* include padding in width calculations */
  width: 100%;                /* span full width of its container */
  margin: 1rem 0;             /* adjust spacing as you like */
  height: 0;                  /* remove default height so only border shows */
  padding: 0;                 /* remove default padding */
  border: none;               /* remove any default borders */
  border-top: 1px solid #e5e5e5; /* same stroke as .site-header */
  background: transparent;    /* ensure no background fills the rule */
  appearance: none;           /* remove browser-specific styling */
}

.site-header {
  position: relative;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  padding: 5rem 0rem 1em 0em;
}

.site-header .back-left {
  position: absolute;
  left: 0rem;
  top: 1rem;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.site-header .title-wrap h1 {
  margin: 0;
  font-family: "Noto Serif", serif;
  font-weight: 700;
}

.site-header .title-wrap .post-meta {
  color: #666;
  font-size: 1.0rem;
  margin-top: 0.2rem;
  font-family: "Open Sans", sans-serif;
}


.link-bold {
    text-decoration: none;
    color: #777; /* Darker color than #555 */
    font-weight: bold; /* Make the link text bold */
    transition: color 0.3s, text-decoration 0.3s;
}

.link-bold:hover {
    color: #555; /* Even darker for hover effect */
    text-decoration: underline;
}


.hover-text-grey:hover {
	color:#757575!important
}

.contact-icon {
	padding: 0px 2px;
	font-size: 20px;
  
}
  
  .contact-icon:hover {
	color:#ccc!important;
}

.outer-div-social-media {
	display: flex;
	justify-content: center;
	flex-direction: row;
}
  
  .outer-div-social-media > div {
	display: flex;
}
  
  .social-media {
	display: inline-block;
	margin-right: 2px;
}

.section {
	border-bottom: 1px solid #e5e5e5;
	padding: .5em 0;
}

.container {
	margin: 0 auto;
	padding: 0 15px;
	max-width: 800px;
}

.footer {
	margin-bottom: 10px;
	font-size: 12px;
	font-size: 1.2rem;
	text-align: center;
	padding: 1em 0 0;
	color: #aaa;
	font-style: italic;
}

.profile {
	padding: 1.5em 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.profile-img {
	width: 50%;
	display: flex;
	justify-content: center;
}

.profile-img-wrap {
	-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	overflow: hidden;
}

.profile-img img {
	display: block;
}

.profile-info {
	width: 40%;
	vertical-align: middle;
	/* Center the content */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}
	
.profile-dpt {
	/*font-weight: 700;*/
	font-size: 18px;
	font-size: 1.8rem;
	color: #898989;
}

.paper-title {
	display: block;
	font-weight: 700;
	margin-bottom: 5px;
}

.paper-author {
	display: block;
}

.paper-arxiv {
	/*font-style: italic;*/
	font-style: italic;
}

.course-name {
	font-weight: 700;
}

/* Research */

.orange-dot {
	height: 10px;
	width: 10px;
	background-color: #FF6C0C;
	border-radius: 50%;
	display: inline-block;
}
  
.green-dot {
height: 10px;
width: 10px;
background-color: #73A950;
border-radius: 50%;
display: inline-block;
}

/* Teaching */

.tbl td{
    display: block!important;
}

.tbl tr {
border-top: none!important;
border-bottom: 1px solid #ccc!important;
}

.tbl{
	border-collapse: collapse;
	border-spacing:0;
	width:100%!important;
	display:table;
	font-size: 16px;
	margin-bottom: 32px;
}

.tbl td:first-child{
	min-width: 100px; /* Adjust this value based on your content and layout needs */
	white-space: nowrap;
}
.tbl td:nth-child(2) {
	min-width: 150px; /* Adjust this value based on your content and layout needs */
	/* white-space: nowrap; */
}
.tbl td, .tbl th {
	line-height: 2em;
	overflow:auto;
	padding:12px 8px;
	/* display:table-cell; */
	text-align:left;
	vertical-align:top}
	.tbl tr:first-child, .tbl tr:last-child {
	border-bottom: none!important;
}

@media screen and (max-width: 767px) {

	body {
		font-size: 14px;
		font-size: 1.4rem;
	}

	h1 {
		font-size: 24px;
		font-size: 2.4rem;
	}

	h2 {
		font-size: 18px;
		font-size: 1.8rem;
	}

	ul,
	ol {
		margin-left: 25px;
	}

	li {
		padding-left: 0;
	}

	.profile {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		text-align: center;
	}

	.profile-img {
		width: 200px;
		margin: 0 auto;
		padding: 0;
	}

	.profile-img-wrap {
		width: 200px;
		-webkit-border-radius: 50%;
			-moz-border-radius: 50%;
			border-radius: 50%;
		overflow: hidden;
	}

	.profile-img img {
		display: block;
		height: 200px;
		max-width: none;
	}

	.profile-info {
		width: auto;
		text-align: center;
		margin-top: 10px;
	}

	.profile-dpt {
		font-size: 16px;
		font-size: 1.6rem;
	}

}
