:root {
  --global-bg-color: #fff;
  --global-code-bg-color: rgba(0, 147, 140, 0.05);
  --global-text-color: #000;
  --global-text-color-light: #828282;
  --global-theme-color: #e07736;
  --global-hover-color: #e07736;
  --global-footer-bg-color: #1c1c1d;
  --global-footer-text-color: #e8e8e8;
  --global-footer-link-color: #fff;
  --global-divider-color: rgba(0, 0, 0, 0.1);
  --global-card-bg-color: #fff;
}

strong,
.content strong {
  font-weight: 700;
}

body {
  padding-bottom: 70px;
  color: var(--global-text-color);
  background-color: var(--global-bg-color);
  font-family: Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

body.fixed-top-nav {
  padding-top: 56px;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  scroll-margin-top: 66px;
}

.container {
  max-width: 1060px;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
em,
div,
li,
span,
strong {
  color: var(--global-text-color);
}

a {
  color: var(--global-theme-color);
}

a:hover {
  color: var(--global-theme-color);
  text-decoration: underline;
}

figure,
img {
  max-width: 90vw;
}

blockquote {
  background: var(--global-bg-color);
  border-left: 2px solid var(--global-theme-color);
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  font-size: 1.2rem;
}

blockquote p {
  margin-bottom: 0;
}

.navbar {
  box-shadow: none;
  border-bottom: 1px solid var(--global-divider-color);
  background-color: var(--global-bg-color);
  opacity: 0.95;
}

.navbar.navbar-light a:hover {
  text-decoration: none;
}

.navbar.navbar-light .navbar-brand {
  color: var(--global-text-color);
}

.navbar.navbar-light .navbar-nav .nav-item .nav-link {
  color: var(--global-text-color);
}

.navbar.navbar-light .navbar-nav .nav-item .nav-link:hover {
  color: var(--global-hover-color);
}

.navbar.navbar-light .navbar-nav .nav-item.active > .nav-link {
  background-color: inherit;
  font-weight: bolder;
  color: var(--global-theme-color);
}

.navbar-toggler .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--global-text-color);
  border-radius: 1px;
  margin-bottom: 4px;
  transition: all 0.2s;
}

.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
  opacity: 0;
}

.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

.post .post-meta {
  color: var(--global-text-color-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.post-header {
  margin-bottom: 1rem;
}

.post-title {
  font-family: "Roboto Slab", Roboto, Helvetica, Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.desc {
  color: var(--global-text-color-light);
  margin-bottom: 0;
}

.profile {
  width: 100%;
}

.profile.float-right {
  margin-left: 1rem;
}

.profile img {
  width: 100%;
}

.profile .address {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-family: "Courier New", Courier, monospace;
  font-weight: 600;
}

.profile .address p {
  margin: 0.2rem 0;
}

.profile .address a {
  color: var(--global-theme-color);
  text-decoration: none;
  text-transform: lowercase;
}

.profile .address a:hover {
  text-decoration: underline;
}

#focus-areas-section {
  clear: both;
}

.clearfix h1 {
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 300;
  text-transform: lowercase;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

.clearfix p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.clearfix ul {
  margin-bottom: 1rem;
}

.clearfix ul ul {
  margin-top: 0.25rem;
}

.nav-home .navbar-brand [data-content="brandStrong"],
.nav-home .navbar-brand [data-content="brandLight"] {
  display: none;
}

#nav-section-label {
  color: var(--global-text-color-light);
  font-weight: 300;
}

.pub-year-heading {
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  border-top: 1px solid var(--global-divider-color);
  padding-top: 1rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.pub-year-list {
  padding-left: 1.5rem;
  margin: 0;
}

.pub-year-list li {
  margin-bottom: 1.25rem;
  font-family: Roboto, Helvetica, Arial, sans-serif;
}

.pub-list-item {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.pub-list-media {
  position: relative;
}

.pub-list-media img {
  display: block;
  width: 100%;
  aspect-ratio: 41 / 20;
  object-fit: contain;
  background: #fff;
  border: 1px solid #cfcfcf;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pub-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--global-text-color);
  border-radius: 2px;
  background: none;
  color: var(--global-text-color);
  font-size: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}

.pub-link-btn:hover {
  color: #fff;
  background: var(--global-text-color);
  text-decoration: none;
}

.publication-abstract {
  display: none;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px dashed var(--global-theme-color);
  border-radius: 2px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

#cv-download {
  position: absolute;
  top: -2.5rem;
  right: 0;
}

.cv-download-btn {
  display: inline-block;
  font-size: 2rem;
  color: var(--global-theme-color);
  text-decoration: none;
}

.cv-download-btn:hover {
  color: var(--global-hover-color);
  opacity: 0.8;
  text-decoration: none;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  position: relative;
}

.experience-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
  font-family: Roboto, Helvetica, Arial, sans-serif;
}

.experience-logo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.15rem;
}

.experience-logo img {
  display: block;
  width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.experience-details p {
  margin-bottom: 0.15rem;
}

.experience-company {
  font-family: "Roboto Slab", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.experience-role {
  font-size: 0.95rem;
}

.experience-meta {
  font-size: 0.85rem;
  color: var(--global-text-color-light);
}

.experience-description {
  font-size: 0.93rem;
  margin-top: 0.3rem !important;
}

.publication-item {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.35rem;
  font-family: Roboto, Helvetica, Arial, sans-serif;
}

.publication-media {
  position: relative;
  display: block;
  color: inherit;
}

.publication-media:hover {
  text-decoration: none;
}

.publication-media img {
  display: block;
  width: 100%;
  aspect-ratio: 41 / 20;
  object-fit: contain;
  background: #fff;
  border: 1px solid #cfcfcf;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.publication-tag {
  position: absolute;
  top: 8px;
  left: -14px;
  display: inline-block;
  padding: 0.15rem 0.55rem;
  background: #1683d8;
  color: #fff;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.publication-title {
  font-size: 1rem;
  font-weight: bolder;
  line-height: 1.45;
}

.publication-details .publication-title,
.publication-details .publication-authors,
.publication-details .publication-venue {
  margin-bottom: 0 !important;
  font-size: 0.95rem;
  line-height: 1.4;
}

.publication-author-highlight {
  color: var(--global-theme-color);
  border-bottom: 1px dashed var(--global-theme-color);
}

.publication-more-authors {
  color: var(--global-theme-color);
  border-bottom: 1px dashed var(--global-theme-color);
  cursor: default;
}

.publication-venue {
  font-style: normal;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.publication-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--global-text-color);
  border-radius: 2px;
  color: var(--global-text-color);
  font-size: 0.75rem;
  text-decoration: none;
}

.publication-links a:hover {
  color: #fff;
  background: var(--global-text-color);
  text-decoration: none;
}

.social {
  text-align: center;
}

.social .contact-icons {
  font-size: 4rem;
}

.social .contact-icons a {
  display: inline-block;
  margin: 0 0.15rem;
}

.social .contact-icons a i::before {
  color: var(--global-text-color);
  transition-property: all 0.2s ease-in-out;
}

.social .contact-icons a:hover i::before {
  color: var(--global-theme-color);
}

footer.fixed-bottom {
  background-color: var(--global-footer-bg-color);
  font-size: 0.75rem;
}

footer.fixed-bottom .container {
  color: var(--global-footer-text-color);
  padding-top: 9px;
  padding-bottom: 8px;
}

footer.fixed-bottom span {
  color: var(--global-footer-text-color);
}

footer.fixed-bottom a {
  color: var(--global-footer-link-color);
}

footer.fixed-bottom a:hover {
  color: var(--global-theme-color);
  text-decoration: none;
}

@media (min-width: 576px) {
  .profile {
    width: 26%;
  }

  .profile .address p {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    max-width: calc(100vw - 92px);
    white-space: normal;
  }

  .post-title {
    font-size: 2rem;
  }

  .profile.float-right {
    float: none !important;
    margin-left: 0;
    margin-bottom: 1rem;
  }

  .social .contact-icons {
    font-size: 3rem;
  }

  .experience-item {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .publication-item {
    grid-template-columns: 1fr;
  }

  .publication-media {
    max-width: 260px;
  }
}
