.markdown-body p {
  text-align: justify; }

@media screen and (min-width: 1280px) {
  #headerStuck {
    margin-top: 15px; } }

.social-media ul {
  list-style-type: none; }
  .social-media ul li a {
    display: grid;
    grid-template-columns: 25px 1fr; }

#cv-download {
  margin: 10px 20px;
  text-align: center; }
  #cv-download a {
    display: grid;
    grid-template-columns: 25px auto;
    border: solid 1px #e1e4e8;
    padding: 10px 20px;
    border-radius: 10px;
    color: inherit; }

#gallery ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem;
  list-style-type: none; }
  #gallery ul li {
    margin-top: 20px;
    border-radius: 10px;
    align-self: center;
    justify-self: center; }
    #gallery ul li :hover img,
    #gallery ul li :hover figcaption {
      filter: blur(3px);
      opacity: 0.5; }
    #gallery ul li :hover .icon {
      opacity: 1; }
    #gallery ul li p {
      font-size: 1rem;
      line-height: 1.5;
      padding: 1rem 0.75rem; }
    #gallery ul li a {
      display: inline-block;
      overflow: hidden;
      border-radius: 10px;
      position: relative;
      margin: 10px 15px;
      color: inherit; }
      #gallery ul li a .icon {
        color: inherit;
        position: absolute;
        top: calc(50% - 25px);
        left: calc(50% - 25px);
        z-index: 2;
        opacity: 0;
        transition: 0.3s ease; }
        #gallery ul li a .icon svg {
          width: 50px;
          height: 50px; }
      #gallery ul li a img {
        width: 100%;
        border-radius: 10px;
        transition: 0.3s ease;
        z-index: 1; }
      #gallery ul li a figcaption {
        position: absolute;
        bottom: 15px;
        background-color: rgba(150, 150, 150, 0.7);
        width: 100%; }
        #gallery ul li a figcaption h3 {
          color: #222222;
          padding: 0.75rem;
          font-size: 1.25rem; }

.picture {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1rem; }
  .picture img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s ease;
    z-index: 1; }
  .picture .content {
    align-self: center; }
    .picture .content p {
      text-align: justify; }

.recipe ul {
  list-style-type: none;
  margin-left: 50px; }
  .recipe ul li {
    display: grid;
    grid-template-columns: 25px 1fr; }

/* The container <div> - needed to position the dropdown content */
.dropdown-main-div {
  position: relative;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 30px;
  color: var(--color-underlinenav-text);
  text-align: center;
  white-space: nowrap;
  background-color: initial;
  border: 0;
  border-bottom: 2px solid transparent; }
  .dropdown-main-div .dropdown-menu-button {
    cursor: pointer;
    width: 100px; }
  .dropdown-main-div .dropdown-content {
    display: none;
    position: absolute;
    overflow: visible;
    width: 100px; }
    .dropdown-main-div .dropdown-content.currently-showing {
      display: block;
      z-index: 10000; }
    .dropdown-main-div .dropdown-content a {
      color: inherit;
      padding: 12px 16px;
      text-decoration: none;
      display: block; }
    .dropdown-main-div .dropdown-content :hover {
      color: white; }

.markdown-body #table-of-content {
  background-color: var(--color-bg-tertiary);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px; }
  .markdown-body #table-of-content h3 {
    margin-top: 0px; }
  .markdown-body #table-of-content #approx-warning-shortcode {
    margin-bottom: 0px; }

.markdown-body h2 {
  border-top: 50px solid transparent;
  margin-top: -50px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box; }

@media screen and (min-width: 1280px) {
  .markdown-body h2 {
    border-top: 74px solid transparent;
    margin-top: -74px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box; } }

.markdown-body p:empty {
  display: none; }

.markdown-body .approx-sign-btn {
  background: none;
  color: inherit;
  border: none; }
  .markdown-body .approx-sign-btn .approx-sign {
    color: inherit;
    margin: 0px 3px 0px 4px;
    width: 16px !important;
    height: 16px !important; }

.markdown-body .approx-sign {
  margin: 0px 3px 0px 4px;
  width: 16px !important;
  height: 16px !important; }

.markdown-body .approx-explain {
  transition: opacity 1s, height 1s;
  border: 1px solid var(--color-border-primary);
  border-radius: 12px;
  opacity: 0;
  height: 0;
  margin-bottom: 0px;
  overflow: hidden; }
  .markdown-body .approx-explain.active {
    margin-bottom: 16px;
    height: auto;
    opacity: 1;
    padding: 10px; }

.markdown-body .emnlp-session {
  display: grid;
  background-color: var(--color-bg-tertiary);
  overflow: hidden;
  border: 1px solid var(--color-border-primary);
  border-radius: 12px;
  margin: 15px 0px; }
  .markdown-body .emnlp-session .emnlp-session-btn {
    background: none;
    color: inherit;
    border: none;
    margin: 5px 0px; }
  .markdown-body .emnlp-session .emnlp-session-content {
    display: grid;
    visibility: hidden;
    max-height: 0;
    border: 1px solid var(--color-border-primary);
    padding-bottom: 15px;
    transition: visibility 0.5s, max-height 3s; }
    .markdown-body .emnlp-session .emnlp-session-content.active {
      visibility: visible;
      max-height: 400rem;
      transition: visibility 0.5s, max-height 10s; }
    .markdown-body .emnlp-session .emnlp-session-content .emnlp-track {
      overflow: hidden;
      width: 100%; }
      .markdown-body .emnlp-session .emnlp-session-content .emnlp-track .emnlp-track-btn {
        margin: 15px 0px 0px 15px;
        border-radius: 12px;
        width: calc(100% - 30px); }
      .markdown-body .emnlp-session .emnlp-session-content .emnlp-track .emnlp-track-content {
        visibility: hidden;
        max-height: 0;
        transition: visibility 1s, max-height 3s; }
        .markdown-body .emnlp-session .emnlp-session-content .emnlp-track .emnlp-track-content.active {
          visibility: visible;
          max-height: 400rem;
          transition: visibility 1s, max-height 10s; }
          .markdown-body .emnlp-session .emnlp-session-content .emnlp-track .emnlp-track-content.active .emnlp-paper {
            margin: 15px; }
        .markdown-body .emnlp-session .emnlp-session-content .emnlp-track .emnlp-track-content .emnlp-paper {
          display: grid;
          grid-template-columns: 100px auto; }
          .markdown-body .emnlp-session .emnlp-session-content .emnlp-track .emnlp-track-content .emnlp-paper .emnlp-paper-title {
            font-weight: bold; }
          .markdown-body .emnlp-session .emnlp-session-content .emnlp-track .emnlp-track-content .emnlp-paper .emnlp-paper-authors {
            font-style: italic; }

/* Push content down on mobile so the sticky nav doesn't cover the avatar */
@media (max-width: 768px) {
  .h-card {
    /* Adjust as needed to fully clear the mobile nav height */
    margin-top: 24px; }
  /* Anchor the absolute toggle and reserve space to its right */
  .user-profile-nav .UnderlineNav-body {
    position: relative;
    padding-right: 64px;
    /* keeps tabs from sitting under the toggle */ }
  /* Lift the toggle above the tabs, top-right */
  .user-profile-nav .mobile-theme-toggle {
    position: absolute;
    right: 8px;
    top: -28px;
    /* adjust between -24px and -36px to taste */
    z-index: 4; } }

/* Hide the name-line toggle by default (desktop), show on mobile */
.name-theme-toggle {
  display: none; }

@media (max-width: 768px) {
  .vcard-names .name-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap; }
  .vcard-names .name-theme-toggle {
    display: inline-flex; }
  /* Remove extra padding we previously added for the old mobile toggle */
  .user-profile-nav .UnderlineNav-body {
    padding-right: 0; } }

/* #cv-download {
//   // width: 250px;
//   margin: 10px 20px;

//   text-align: center;

//   a {
//     display: grid;
//     grid-template-columns: 25px auto;

//     border: solid 1px #e1e4e8;
//     padding: 10px 20px;
//     border-radius: 10px;

//     color: inherit;
//   }
// } */
/* Center the icon inside the toggle thumb (mobile + desktop) */
.profile-color-modes-toggle-thumb {
  display: flex;
  align-items: center;
  justify-content: center; }

.profile-color-modes-toggle-thumb svg {
  width: 14px;
  height: 14px;
  margin: 0 !important;
  /* override any inline margins */ }

.theme-toggle-icon {
  fill: var(--color-profile-color-modes-toggle-moon); }

/* Remove focus ring around the toggle on mobile */
.profile-color-modes-toggle:focus,
.profile-color-modes-toggle:focus-visible,
.name-theme-toggle:focus,
.name-theme-toggle:focus-visible {
  outline: none;
  box-shadow: none; }
