h4 {
  letter-spacing: .1rem; 
}
.container {
/*CMG: width*/
  max-width: 980px; }
.header {
  margin-top: 0px;
  margin-bottom: 20px; 
  padding: 0px 0px;
  text-align: left; }
.main-description {
  height: auto;}
.main-description h1 {
  margin-bottom: 0px; }
.main-description p {
  margin-bottom: 0px; }
.main-description .fa {
  font-size: 22px;
  margin-top: 5px; }
.profile {
  height: auto;
}
/* CMG: Conference Label*/
.label-badge {
  display: inline-block;
  background-color: #0046AC; /*background color*/
  color:white; /*text color*/
  font-weight: bold;
  font-size: 12px;
  padding: 0px 10px;
  border-radius: 3px; /*rounded corners*/
  margin-botton: 3px;
  margin-right: 10px;
  flex-shrink: 0; /* Prevents the badge from affecting text alignment */
  white-space: nowrap; /* Keep label on one line if you prefer */
  /* Shadow effect */
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2); /* X-offset, Y-offset, blur-radius, color */

}  
.paper-details .title {
  display: inline;
  margin-top: 0; /* Removes any extra space above title */
}
.paper-details {
  /* This keeps your text in one aligned column */
}
.paper {
  display: flex;          /* Put label and details side by side */
  align-items: flex-start; /* So label and text align nicely at the top */
  margin-bottom: 20px }
.paper .title {
  display: inline;
  /*text-transform: uppercase; */}
.paper p {
  margin-bottom: 2px }
.paper-buttons {
  margin-top: 5px }
.paper .button {
  display: inline-block;
  height: 25px;
  padding: 0 25px;
  font-weight: 100;
  line-height: 25px;
  border: 1px solid #6A0DAD; /* Purple border */
  color: #6A0DAD; /* Purple text and border */
  transition: background-color 0.2s ease-in-out;
  text-transform: none; }
/* Hover effect */
.paper .button:hover {
    background: rgba(106, 13, 173, 0.08); /* Purple with 70% opacity */
}


/* ----- mobile override ----- */
@media (max-width: 750px) {      /* pick any breakpoint you like */
  /* 1. let each publication flow naturally, one element per line */
  .paper { 
    display: block !important;          /* overrides “display: table” */
    border-bottom: 0.5px dashed grey;   /* keep the separator */
    margin-bottom: 1.5em;
  }

  /* 2. the inner “row” wrapper is no longer needed */
  .paper > div[style*="display: table-row"] {
    display: block !important;
  }

  /* 3. image + badge becomes full‑width */
  .paper .fig-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0.75em;      /* a little gap before the text */
  }

  /* 4. details get normal block formatting */
  .paper-details {
    display: block !important;  /* overrides table‑cell */
    padding-left: 0 !important; /* remove the desktop gutter */
  }
}


.section-header {
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: .2rem;
  font-weight: 600; 
}
.docs-section {
  border-top: 1px solid #eee;
  padding: 3rem 0;
  margin-bottom: 0;
  margin-top: 0;}
.footer {
  text-align: center;
  color: rgba(0, 0, 0, 0.4);
  border-top: 1px solid #eee;
  padding: 15px 0 40px 0;
  margin-bottom: 0;}
.navbar {
  display: none; }
.title-subtitle h3 {
  margin-bottom: 0px; }
.title-subtitle h5 {
  color: rgba(0, 0, 0, 0.60); }
.image {
  text-align: center; }

/*  ================ Project styling  ================ */
.project-container {
  margin-bottom: 30px;
}
.project-image-container {
  border: 1px solid rgba(0,0,0,0.2);
  padding: 3px;
  transition: 0.3s;
}
.project-image-container:hover {
  transition: 0.3s;
}
.project-image-container:hover img {
  opacity: 0.4;
}
.project-caption {
  padding: 3px;
}

/* Larger than phone */
@media (min-width: 550px) {
  .header {
    margin-top: 5rem; }
}

/* Larger than tablet */
@media (min-width: 750px) {
  /* Navbar */
  .navbar + .docs-section {
    border-top-width: 0; }
  .navbar,
  .navbar-spacer {
    display: block;
    width: 100%;
    height: 6.5rem;
    background: #fff;
    z-index: 99;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee; }
  .navbar-spacer {
    display: none; }
  .navbar > .container {
    width: 100%; }
  .navbar-list {
    list-style: none;
    margin-bottom: 0; 
    margin-left: 1.4rem;}
  .navbar-item {
    position: relative;
    float: left;
    margin-bottom: 0; }
  .navbar-link {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 35px;
    text-decoration: none;
    line-height: 6.5rem;
    color: #222; }
  .navbar-link.active {
    color: #33C3F0; }
  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0; }
  .has-docked-nav .navbar-spacer {
    display: block; }
  /* Re-overiding the width 100% declaration to match size of % based container */
  .has-docked-nav .navbar > .container {
    width: 80%; }

  /* Popover */
  .popover.open {
    display: block;
  }
  .popover {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    top: 92%;
    left: -50%;
    -webkit-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
       -moz-filter: drop-shadow(0 0 6px rgba(0,0,0,.1));
            filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); }
  .popover-item:first-child .popover-link:after, 
  .popover-item:first-child .popover-link:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none; }
  .popover-item:first-child .popover-link:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px; }
  .popover-item:first-child .popover-link:before {
    border-color: rgba(238, 238, 238, 0);
    border-bottom-color: #eee;
    border-width: 11px;
    margin-left: -11px; }
  .popover-list {
    padding: 0;
    margin: 0;
    list-style: none; }
  .popover-item {
    padding: 0;
    margin: 0; }
  .popover-link {
    position: relative;
    color: #222;
    display: block;
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.0rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: .1rem; }
  .popover-item:first-child .popover-link {
    border-radius: 4px 4px 0 0; }
  .popover-item:last-child .popover-link {
    border-radius: 0 0 4px 4px;
    border-bottom-width: 0; }
  .popover-link:hover {
    color: #fff;
    background: #33C3F0; }
  .popover-link:hover,
  .popover-item:first-child .popover-link:hover:after {
    border-bottom-color: #33C3F0; }
}

.social-icons i {
  font-size: 2em; /* Increase size as needed */
  /* Optionally, remove any inline padding if undesired */
  padding-top: 15px;
}

/* Override font-size for nested unordered lists */
.docs-section ul ul {
  font-size: inherit;
  line-height: inherit;
}

.news-item {
  margin-bottom: 1.5rem;
}

/* News: remove extra space under each link item */
.news-item ul li {
  margin-bottom: 0;
  margin-left: 1.5rem;
}

/* News: remove bottom margin on the list itself */
.news-item ul {
  margin-bottom: 0;
}

.bio‑section {
  border-top: 1px solid #eee;
  padding: 3rem 0;
  margin-bottom: 0;
  margin-top: 0;
}

.bio‑intro p,
.bio‑closing p {
  margin-bottom: 1.5rem;
}

.bio‑highlight {
  background: #f0fbff;
  border-left: 4px solid #0046AC;
  padding: 0.5rem 1.5rem;
  margin: 1rem 0;
}

.bio‑highlight p {
  color: #0046AC;
  margin: 0;
}

.frontiers {
  list-style: none;
  padding: 0;
  padding-left: 4rem;
  margin: 0rem 0 0rem;
}

.frontiers li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.rem;
}

.frontiers li::before {
  content: "◉";
  position: absolute;
  left: 0;
  top: 0.75em;
  color: #0046AC;
  font-size: 0.8rem;
}

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

.education li {
  display: flex;
  gap: 1rem;          /* spacing between year and details */
  margin-bottom: 0.5rem;
}

.education .year {
  width: 110px;       /* fixed width so all years align */
  font-weight: bold;
  color: #555;
}

.education .details {
  flex: 1;            /* take remaining space */
}

