
/* Make sidebar avatar square and larger 
.author__avatar img,
img.u-photo {
  border-radius: 0 !important;   /* square */
/*  width: 300px !important;       /* change this number for size */
/*  height: auto !important;
/*  object-fit: contain !important;
}
*/
/* Optional: center the avatar block 
.author__avatar {
  text-align: center;
}
*/

/* Author avatar container: expand size */
.author__avatar {
  width: 200px !important;
  height: auto !important;
  max-width: 200px !important;
  text-align: center !important;
}

/* Avatar image itself */
.author__avatar img,
img.u-photo {
  width: 200px !important;
  max-width: 200px !important;
  height: auto !important;
  border-radius: 0 !important; /* keeps it square */
  object-fit: contain !important;
}

/* Override global image scaling */
img {
  max-width: none !important;
}


/* Hide footer (Sitemap / FOLLOW / FEED bar) */
.page__footer {
  display: none !important;
}

/* Force custom sidebar to right side */
/*.page__sidebar {*/
/*  float: right !important;
}*/

/* Right-side column on About page */
.right-column-box {
  float: right;
  width: 260px;           /* adjust width if you like */
  margin-left: 2rem;
  padding-left: 1.5rem;
  border-left: 1px solid #ddd;
  font-size: 0.9em;
}

/* Make layout mobile-friendly */
@media (max-width: 900px) {
  .right-column-box {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-top: 1.5rem;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
  }
}


/* === Expand middle content column === */
.page__content {
  max-width: 800px !important;       /* widen main text */
}

/* Narrow left author sidebar */
.page__sidebar {
  max-width: 250px !important;
}

/* === Center overall three-column layout === */
.wrap {
  max-width: 1350px !important;      /* overall page width */
  margin: 0 auto !important;         /* center on screen */
}

@media (max-width: 1400px) {
  .wrap {
    max-width: 1150px !important;    /* slightly narrower on smaller screens */
  }
}


/* Keep email icon and text on one line */
.author__urls li a {
  display: inline !important;
}
.author__urls li i {
  margin-right: 4px;
}

/*Change email id color*/
.author-email-line a {
  color: #0366d6 !important;   /* GitHub blue */
  text-decoration: none !important;
}

/* ===== Top navigation: center menu, hide site title and icons ===== */

/* Hide the site title (name) and any header email we added earlier */
.site-title,
.masthead__email {
  display: none !important;
}

/* Center the nav bar */
.greedy-nav {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Make menu items horizontal and nicely spaced */
.greedy-nav .visible-links {
  display: flex !important;
  gap: 2rem;                     /* space between Home / Research / Talks / ... */
}


/* Remove dark mode / theme toggle icon */
.theme-switch,
.theme-toggle,
#theme-toggle,
.moon,
.sun {
  display: none !important;
}

/* This following code work to hide moon sign */
/* Hide the dark-mode moon icon (last item in the top nav) */
.greedy-nav .visible-links > li:last-child {
  display: none !important;
}


/* Sidebar container */
.right-column-box {
  font-size: 0.88rem !important;
  line-height: 1.28 !important;
  width: 280px !important;   /* keeps column narrow */
  margin-left: 1.5rem;
}

/* Section headers */
.right-column-box h3 {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  margin-bottom: 0.3rem !important;
  margin-top: 0.8rem !important;
}

/* Bullet lists */
.right-column-box ul {
  margin-top: 0.15rem !important;
  margin-bottom: 0.4rem !important;
  padding-left: 1.1rem !important;
}

.right-column-box li {
  margin-bottom: 0.18rem !important;
}

/* Degree entries */
.right-column-box p {
  margin-bottom: 0.45rem !important;
  font-size: 0.87rem !important;
}

/* Bolds for degrees */
.right-column-box strong {
  font-weight: 600 !important;
}

/* Center all content*/
/* Center overall page on larger screens */
.wrap {
  max-width: 1050px !important;   /* slightly narrower than default so there's less empty right space */
  margin: 0 auto !important;      /* centers the whole layout */
}

/* Make the middle bio column a bit wider */
.page__content {
  max-width: 720px !important;    /* default is ~700; this widens the bio text a bit */
}


/* Layout for right-hand Research Interests / Education column */
.right-column-box {
  float: right;
  width: 220px !important;        /* narrower sidebar */
  margin-left: 1.5rem;
  padding-left: 1.25rem;
  border-left: 1px solid #ddd;
}

.right-column-box {
  float: right;
  width: 220px !important;
  margin-left: 1.5rem;
  padding-left: 1.25rem;
  border-left: 1px solid #ddd;
}

/* Job-market sidebar typography */
.right-column-box {
  font-size: 0.88rem !important;
  line-height: 1.28 !important;
}
/* ... h3, p, li rules ... */

@media (max-width: 900px) {
  .right-column-box {
    float: none;
    width: 100% !important;
    margin-left: 0;
    margin-top: 1.5rem;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
  }
}


/* Center the main page content (sidebar + bio + right column) */
#main {
  max-width: 1100px;              /* total width: sidebar + middle + right */
  margin-left: auto;
  margin-right: auto;
}

/* Expand bio section width */
.page__content {
  max-width: 850px !important;
}


/* Bio serif font (academic style) */
.page__content {
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-size: 1.02rem;
  line-height: 1.45;
}


/*For research interest and education and reference*/
/* ===== Three-column block under bio ===== */

.three-col-row {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;  /* narrower + closer */
  column-gap: 0.5rem;                      /* reduce horizontal gap */
  row-gap: 0.5rem;
  margin-top: 0.75rem;
  max-width: 1200px;
}

/* Headings */
.three-col-block h3 {
  font-family: "Helvetica Neue", Arial, sans-serif, serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Lists (interests, education, references) */
.interest-list,
.education-list,
.reference-list {
  padding-left: 1.1rem;
  margin: 0;
}

/* List items */
.interest-list li,
.education-list li,
.reference-list li {
  font-family: "Helvetica Neue", Arial, sans-serif, serif;
  font-size: 0.80rem;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

/* Bold degrees */
.education-list strong {
  font-weight: 600;
}

/* Mortarboard icon for degrees */
.education-list li::before {
  content: "🎓 ";
  margin-left: -1.2rem;
  margin-right: 0.3rem;
}

/* Stack columns on mobile */
@media (max-width: 900px) {
  .three-col-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}


/*All color black*/
body {
  color: #000;
}

/*a, a:visited {
/*  color: #1a0dab;   /* standard blue */
/*}*/

/*.masthead__menu-item a {
/*  color: #000;
}*/

/*Add Reference Name*/
.sidebar-ref {
  margin-top: 10px;
  font-size: 0.85em;
  line-height: 1.25em;
}

.sidebar-ref a {
  color: black;
  text-decoration: none;
}

.sidebar-ref a:hover {
  text-decoration: underline;
}

/* title name */
.page__title {
  font-size: 1.9rem;   /* default is ~2.2rem */
  font-weight: 700;    /* optional */
  margin-bottom: 0.75rem;
}

/* Limit Research page
.abs-btn {
  font-size: 0.8rem;
  padding: 2px 8px;
  border: 1px solid #ccc;
  background-color: #f7f7f7;
  cursor: pointer;
}

details summary {
  list-style: none;
  display: inline-block;
  margin: 4px 0;
}

details[open] .abs-btn::after {
  content: " (hide)";
  font-weight: normal;
}


/* Abstract toggle styling 

details.abs-block {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

details.abs-block summary {
  cursor: pointer;
  display: inline-block;
  font-size: 0.85rem;
  padding: 2px 8px;
  border: 1px solid #ccc;
  background-color: #f7f7f7;
  color: #000;
  list-style: none;
}

/* remove default triangle marker 
details.abs-block summary::-webkit-details-marker {
  display: none;
}

/* When open, show "(hide)" 
details.abs-block[open] summary::after {
  content: " (hide)";
  font-weight: normal;
}

/* Abstract paragraph 
details.abs-block p {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
*/


/*Date: jan 21, 2026 11pm*/
/* ===== Research page: inline abstract + links ===== */
/* ---------- Research: abstract toggle + links ---------- */

.paper-details {
  margin-top: 0.1rem;
  font-size: 0.95rem;
}

/* summary is clickable, but NOT a huge bar */
.paper-details > summary {
  cursor: pointer;
  list-style: none;
}

/* hide the default triangle marker */
.paper-details > summary::-webkit-details-marker {
  display: none;
}

/* box only around Show/Hide text */
.paper-details .toggle-label {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #999;
  background: #fff;
  margin-right: 6px;
}

/* link group */
.paper-details .links {
  font-size: 0.95rem;
}

.paper-details .links a {
  color: #0077cc;
}

/* show/hide text switching */
.paper-details .toggle-label .hide {
  display: none;
}
.paper-details[open] .toggle-label .show {
  display: none;
}
.paper-details[open] .toggle-label .hide {
  display: inline;
}

/* abstract content below bar */
.paper-details .abstract-text {
  margin-top: 0.4rem;
  line-height: 1.4;
}

/*Change font size*/
.paper-details summary {
  font-size: 0.8rem;   /* adjust — try 0.85rem, 0.8rem, etc. */
}

.pub-citation {
  font-size: 0.8rem;     /* try 0.85 or 0.8 */
  line-height: 0.8;      /* tighter vertical space */
  color: black;          /* optional */
}

.pub-authors {
  font-size: 0.6rem;
  line-height: 1.1;
}

.pub-journal {
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.5;
}


/* Remove Minimal Mistakes mobile menu toggle */
.greedy-nav button,
.greedy-nav .toggle,
.greedy-nav .toggle::before {
  display: none;
}

/*If You Want Desktop Menu Only + No Mobile Collapse
You can force the nav to remain expanded instead of collapsing into hamburger:*/

.greedy-nav .visible-links {
  display: flex;
}

.greedy-nav .hidden-links {
  display: none;
}

.greedy-nav__toggle {
  display: none;
}


/* Make Bio two paragraph "Justify" align square format*/
.archive .page__content > p {
  text-align: justify !important;
  text-justify: inter-word !important;
}


/* Center research and teaching title*/
.research-page .page__title,
.teaching-page .page__title {
  text-align: center !important;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* Change background colors per page 
.home-page {
  background-color: #00ff00;   /* light gray 
}

.research-page {
  background-color: #ffffff;   /* white 
}

.teaching-page {
  background-color: #f7faff;   /* light bluish 
}
*/



/*STEP 2: Disable mobile-specific CSS behavior --> STEP 1 is in _includes/head.html */
/* Disable mobile layout — force desktop layout everywhere */
@media (max-width: 1200px) {

  body {
    min-width: 1200px;
  }

  #main {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .sidebar {
    float: left;
    width: 300px;
  }

  .archive,
  .page__content {
    width: calc(100% - 320px);
    float: right;
  }

}

/*STEP 3: Disable hamburger menu (three lines icon)*/
/* Remove mobile hamburger menu */
.greedy-nav__toggle {
  display: none !important;
}

/*STEP 4: Prevent font resizing on mobile*/
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}


/* For Abstract Tabe*/

.jmp-line {
  margin-bottom: 0.3rem;
}

.abstract-toggle {
  display: inline-block;
  border: 1px solid #999;
  background: #fff;
  padding: 2px 7px;
  font-size: 0.85rem;
  cursor: pointer;
  color: #1a0dab;
}

.jmp-abstract {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: justify;
}



/* Journal Link color*/

.journal-link,
.journal-link:visited,
.journal-link:hover,
.journal-link:active {
    color: #666666 !important;
    text-decoration: none;
}


/* remove vertical space in publications section in research page*/

