/* Dark Theme */
.dark-theme {
  background-color: black;
  color: white;
}

/* Use Operating System theme for the website */
/* @media (prefers-color-scheme: dark) {
  body {
    background-color: black;
    color: white;
  }
} */

/* Add custom font family */
/* @font-face {
  font-family: "My Custom Font";
  src: url("assets/Inter/static/Inter-Regular.ttf");
} */

body {
  padding: 0 1em;
  max-width: 44rem;
  line-height: 1.4;
  margin-left: auto;
  margin-right: auto;
  font-family: -apple-system, BlinkMacSystemFont, segoe ui, Roboto, Oxygen,
    Ubuntu, Cantarell, open sans, helvetica neue, sans-serif;
  /* font-family: "Libre Baskerville", Libre, Georgia, Times, serif; */
  /* font-family: "SF Pro Display", "SF Pro Icons"; */
  /* font-family: Arial, Helvetica, sans-serif; */
  /* font-family: "Helvetica, Arial, sans-serif"; */
  /* font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  /* font-family: "Times New Roman", Times, serif; */
  /* font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; */
  /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
}

h1,
h2 {
  margin: 24px;
}

h3 {
  margin: 16px 0;
  font-weight: 500;
}

figure {
  display: table;
  margin: 8px 12px;
  font-size: 12px;
}

figcaption {
  padding: 4px 0;
  text-align: center;
  caption-side: bottom;
  display: table-caption;
}

a {
  text-decoration: none;
  color: #1a73e8;
}

a:visited {
  text-decoration: none;
  color: #1a73e8;
}

a:focus {
  text-decoration: none;
  color: blue;
}

a:hover,
a:active {
  text-decoration: underline;
  /* color: lightblue; */
}

li {
  font-size: 14px;
  padding: 4px 0;
}

my-header,
my-home,
my-experience-filter,
my-experience,
my-education,
my-project-filter,
my-project,
my-photo-filter,
my-photo-gallery,
my-contact,
my-footer {
  display: block;
}

my-experience-filter[hidden],
my-project-filter[hidden],
my-photo-filter[hidden] {
  display: none;
}

.site-footer {
  width: 100%;
  margin: 36px 0;
  font-size: 10px;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.name {
  margin: auto;
  padding: 8px;
  text-align: center;
}

.profile-container {
  width: 100%;
  margin: 2% 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.profile-image {
  height: 220px;
  width: 220px;
  min-width: 200px;
  border-radius: 3%;
  margin-right: 24px;
  margin-bottom: 12px;
}

.school-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.education-description {
  padding: 12px 0;
  font-size: 14px;
}

.about-text {
  font-size: 14px;
  text-align: justify;
  padding-bottom: 24px;
}

.experience-title {
  font-size: 16px;
  padding: 8px 0 8px 0;
  font-weight: 650;
}

.company {
  padding: 8px 0;
}

.company-header {
  display: flex;
  flex-direction: row;
}

.company-logo-container {
  margin-right: 16px;
}

.company-logo {
  width: 42px;
  height: 42px;
}

.company-title {
  font-size: 16px;
  font-weight: 550;
  padding-bottom: 4px;
}

.role-header {
  display: flex;
  flex-direction: column;
  padding: 16px 0 4px 0;
  justify-content: space-between;
}

.role-header-item {
  padding: 0 2px;
}

.role-title {
  font-size: 15px;
  font-weight: 500;
}

.role-duration {
  font-size: 13px;
  font-style: italic;
  padding-top: 4px;
}

.role-description {
  font-size: 14px;
  padding: 16px 0;
}

.role-ul {
  margin: 0px;
  padding: 0px 0px 0 20px;
}

.degree-title {
  /* font-size: 12px;
  font-weight: 600;
  font-style: italic; */
  padding: 4px 0;
  font-size: 14px;
  font-weight: 500;
}

.company-images {
  display: flex;
  flex-wrap: wrap;
  /* padding-left: 24px; */
  /* padding-top: 12px; */
  /* justify-content: space-between; */
}

.company-image {
  width: 190px;
  border-radius: 2%;
}

.company-email
{
  margin: 4px 0;
  font-size: 14px;
}

.company-duration {
  margin: 4px 0;
  font-size: 14px;
}

.company-location {
  font-size: 12px;
}

.advisor-name {
  margin: 4px 0;
  font-size: 13px;
}

.row-header {
  width: 100%;
  margin: 12px 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  flex-direction: row;
  font-size: 14px;
  justify-content: space-between;
}

.row-header-item {
  padding: 0;
}

.row-header-item a {
  position: relative;
  z-index: 0;
  display: inline-block;
  isolation: isolate;
}

.row-header-item a::before {
  position: absolute;
  z-index: -1;
  inset: -5px -10px;
  border-radius: 999px;
  background: transparent;
  content: "";
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.row-header-item a:hover,
.row-header-item a:focus-visible,
.row-header-item a[aria-current="page"] {
  text-decoration: none;
}

.row-header-item a:hover::before,
.row-header-item a[aria-current="page"]::before {
  background: rgba(26, 115, 232, 0.14);
}

.dark-theme .row-header-item a:hover::before,
.dark-theme .row-header-item a[aria-current="page"]::before {
  background: rgba(255, 255, 255, 0.16);
}

.row-header-item a:focus-visible {
  outline: none;
}

.row-header-item a:focus-visible::before {
  background: rgba(26, 115, 232, 0.12);
  box-shadow: 0 0 0 2px #1a73e8;
}

.exp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-title {
  font-size: 18px;
  margin: 12px 0 8px 0;
  font-weight: bold;
}

.filter-toggle-button {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.filter-toggle-button:hover,
.filter-toggle-button:focus-visible,
.filter-toggle-button.is-active {
  background: rgba(128, 128, 128, 0.18);
}

.filter-toggle-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.filter-toggle-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.filter-toggle-clear-icon {
  display: none;
}

.filter-toggle-button.is-clear {
  color: #d93025;
  font-weight: 600;
}

.filter-toggle-button.is-clear:hover,
.filter-toggle-button.is-clear:focus-visible {
  background: rgba(128, 128, 128, 0.18);
}

.dark-theme .filter-toggle-button.is-clear {
  color: #ff6b6b;
}

.filter-toggle-button.is-clear .filter-toggle-filter-icon {
  display: none;
}

.filter-toggle-button.is-clear .filter-toggle-clear-icon {
  display: block;
}

.header-subtitle {
  font-size: 12px;
}

.page-container {
  position: relative;
  min-height: 100vh;
}

.content-wrap {
  padding-bottom: 2.5rem;
}

.footer-text {
  max-width: 100%;
  font-size: 10px;
  margin: 32px 0;
  color: dimgrey;
  width: max-content;
  width: -webkit-max-content;
}

.education {
  margin-top: 12px;
}

.education-links {
  display: flex;
  font-size: 12px;
  padding: 6px 0;
  align-items: center;
}

.education-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.education-figure-container {
  height: 100%;
  margin: 16px 0 0 0;
}

.education-image {
  width: 200px;
  height: auto;
  border-radius: 2%;
}

.education-subtitle {
  padding: 4px 0;
  font-size: 13px;
}

.education-text {
  margin: 0 30px 0 0;
}

.filters-div {
  display: flex;
  padding: 12px 0 6px 0;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}

.filter-result {
  font-size: 12px;
  font-style: italic;
  padding: 0 0 8px 0;
}

.filter-result-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.filter-icon {
  width: 28px;
  height: 18px;
  padding: 4px 2px;
  margin-right: 8px;
  border-radius: 6px;
  background-color: white;
}

.year-title {
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0 20px 0;
}

.project-title {
  font-size: 16px;
  font-weight: 500;
  margin: 2px 0;
  color: #202124;
}

.linked-title {
  display: flex;
  gap: 6px;
  align-items: center;
  scroll-margin-top: 16px;
}

my-copy-link {
  display: inline-flex;
  flex: 0 0 auto;
}

.copy-link-button {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.65;
}

.copy-link-button:hover,
.copy-link-button:focus-visible {
  background: rgba(128, 128, 128, 0.18);
  opacity: 1;
}

.copy-link-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.copy-link-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-subsection {
  display: flex;
  padding: 6px 0;
  flex-wrap: wrap;
  color: #626a73;
  font-size: 12px;
}

.project-description {
  color: #3f454d;
  font-size: 14px;
  text-align: left;
  padding: 8px 0 6px;
  line-height: 1.5;
}

.dark-theme .project-title {
  color: #f1f3f4;
}

.dark-theme .project-subsection {
  color: #aeb4bc;
}

.dark-theme .project-description {
  color: white;
}

.dark-theme .project-description li::marker {
  color: #f1f3f4;
}

.hr {
  margin: 16px 0;
  opacity: 0.2;
}

.project-ul {
  padding: 0px 16px;
  margin: 0px;
}

.project-filters,
.photo-filters,
.experience-filters {
  gap: 8px;
}

.project-filters .multiselect-dropdown,
.photo-filters .multiselect-dropdown,
.experience-filters .multiselect-dropdown {
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  width: auto !important;
}

.photo-hidden-filter {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  min-height: 30px;
  box-sizing: border-box;
  gap: 7px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 6px;
  background: rgba(128, 128, 128, 0.08);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.photo-hidden-filter:hover {
  background: rgba(128, 128, 128, 0.15);
  border-color: rgba(128, 128, 128, 0.55);
}

.photo-hidden-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.photo-hidden-check {
  display: inline-grid;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  place-items: center;
  box-sizing: border-box;
  border: 1.5px solid rgba(128, 128, 128, 0.8);
  border-radius: 4px;
  background: rgba(128, 128, 128, 0.08);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.photo-hidden-check::after {
  width: 3px;
  height: 7px;
  content: "";
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  opacity: 0;
  transform: translateY(-1px) rotate(45deg) scale(0.7);
  transition: opacity 120ms ease, transform 120ms ease;
}

.photo-hidden-checkbox:checked + .photo-hidden-check {
  border-color: #1a73e8;
  background: #1a73e8;
}

.photo-hidden-checkbox:checked + .photo-hidden-check::after {
  opacity: 1;
  transform: translateY(-1px) rotate(45deg) scale(1);
}

.photo-hidden-checkbox:focus-visible + .photo-hidden-check {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.photo-trip-group {
  padding: 4px 0 24px;
}

.photo-trip-group + .photo-trip-group {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(128, 128, 128, 0.3);
}

.photo-trip-group:last-of-type {
  padding-bottom: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 8px;
  background: rgba(128, 128, 128, 0.1);
}

.photo-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 160ms ease;
}

.photo-card-button {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.photo-card-button:hover .photo-card-image {
  transform: scale(1.02);
}

.photo-card-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

.photo-card-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 12px;
  visibility: hidden;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.photo-card:hover .photo-card-copy,
.photo-card:focus-within .photo-card-copy {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.photo-card-details {
  display: flex;
  gap: 4px;
  width: 100%;
  min-width: 0;
  flex-direction: column;
}

.photo-card-title-container {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.photo-card-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  align-items: center;
  margin-left: auto;
}

.photo-card-download {
  padding: 2px 0;
}

.photo-card-action {
  position: relative;
}

.photo-card-action::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  padding: 5px 7px;
  visibility: hidden;
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.95);
  color: white;
  content: attr(data-tooltip);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  white-space: nowrap;
}

.photo-card-action:hover::after,
.photo-card-action:focus-visible::after {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.photo-control.photo-card-action:focus-visible {
  border-radius: 2px;
  outline: 2px solid white;
  outline-offset: 3px;
}

.photo-card-title {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.photo-card-meta {
  margin: 0;
  color: dimgrey;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.photo-card .photo-card-meta {
  color: #d0d0d0;
}

.photo-control {
  display: inline-flex;
  gap: 4px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  line-height: 1;
  text-decoration: none;
}

.photo-control:link,
.photo-control:visited,
.photo-control:hover,
.photo-control:focus,
.photo-control:focus-visible,
.photo-control:active {
  color: inherit;
  background: transparent;
}

.photo-control:hover,
.photo-control:focus,
.photo-control:focus-visible {
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.photo-action-icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.photo-toast,
.copy-link-toast {
  position: fixed;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  box-sizing: border-box;
  max-width: calc(100vw - 32px);
  padding: 10px 14px;
  visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(24, 24, 24, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  white-space: nowrap;
}

.photo-toast[data-state="error"],
.copy-link-toast[data-state="error"] {
  background: rgba(125, 31, 31, 0.97);
}

.photo-toast.is-visible,
.copy-link-toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.photo-empty,
.experience-empty,
.project-empty {
  padding: 40px 16px;
  border: 1px dashed rgba(128, 128, 128, 0.5);
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  width: calc(100vw - 32px);
  max-width: none;
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: white;
}

.photo-lightbox:focus {
  outline: none;
}

.photo-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.photo-lightbox-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.98);
}

.photo-lightbox-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
}

.photo-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-lightbox.is-zoomed .photo-lightbox-figure {
  cursor: grab;
}

.photo-lightbox.is-panning .photo-lightbox-figure {
  cursor: grabbing;
}

.photo-lightbox-topbar {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: start;
  box-sizing: border-box;
  padding: 12px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.38) 70%,
    transparent
  );
  color: white;
}

.photo-lightbox-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 0 4px;
  text-align: left;
  font-size: 14px;
}

.photo-lightbox-title-row {
  display: flex;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  align-items: center;
}

.photo-lightbox-title-row strong,
.photo-lightbox-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-lightbox-loader {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(
    currentColor 0 25%,
    rgba(255, 255, 255, 0.2) 25% 100%
  );
}

.photo-lightbox-loader[hidden] {
  display: none;
}

.photo-lightbox-meta {
  display: block;
  color: #c7c7c7;
  font-size: 12px;
  font-weight: normal;
}

.photo-lightbox-close,
.photo-lightbox-nav {
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
}

.photo-lightbox-close:hover,
.photo-lightbox-nav:hover {
  border: 0;
  background: rgba(128, 128, 128, 0.58);
  outline: 0;
}

.photo-lightbox-close:focus-visible,
.photo-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: 2px solid white;
  outline-offset: 2px;
}

.photo-lightbox-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
}

.photo-lightbox-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  color: white;
}

.photo-lightbox-share,
.photo-lightbox-download {
  height: 40px;
  padding: 0;
  background: transparent;
  color: white;
  font-size: 14px;
}

.photo-lightbox-actions .photo-action-icon {
  width: 17px;
  height: 17px;
}

.photo-lightbox-share:hover,
.photo-lightbox-share:focus,
.photo-lightbox-share:focus-visible,
.photo-lightbox-share:active,
.photo-lightbox-download:link,
.photo-lightbox-download:visited,
.photo-lightbox-download:hover,
.photo-lightbox-download:focus,
.photo-lightbox-download:focus-visible,
.photo-lightbox-download:active {
  color: white;
}

.photo-lightbox-nav {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: 0;
  font-size: 22px;
  transform: translateY(-50%);
}

.photo-lightbox-previous {
  left: 12px;
}

.photo-lightbox-next {
  right: 12px;
}

.photo-lightbox-topbar,
.photo-lightbox-nav {
  visibility: visible;
  opacity: 1;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.photo-lightbox.is-controls-hidden .photo-lightbox-topbar,
.photo-lightbox.is-controls-hidden .photo-lightbox-nav {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .photo-card-image {
    transition: none;
  }

  .photo-card-copy,
  .photo-card-action::after,
  .row-header-item a::before,
  .photo-hidden-filter,
  .photo-hidden-check,
  .photo-hidden-check::after,
  .photo-toast,
  .copy-link-toast,
  .photo-lightbox-topbar,
  .photo-lightbox-nav {
    transition: none;
  }
}

@media (hover: none) {
  .photo-card-copy {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 560px) {
  .project-filters,
  .photo-filters,
  .experience-filters {
    align-items: stretch;
    flex-direction: column;
  }

  .project-filters .multiselect-dropdown,
  .photo-filters .multiselect-dropdown,
  .experience-filters .multiselect-dropdown {
    width: 100% !important;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-card-button {
    aspect-ratio: 4 / 5;
  }

  .photo-lightbox {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .photo-lightbox-shell {
    border-radius: 0;
  }

  .photo-lightbox-topbar {
    gap: 4px;
    padding: 8px;
  }

  .photo-lightbox-actions {
    gap: 4px;
  }

  .photo-lightbox-share,
  .photo-lightbox-download {
    width: 40px;
    min-width: 40px;
  }

  .photo-lightbox-actions .photo-control span {
    display: none;
  }

  .photo-toast {
    bottom: 16px;
  }

  .photo-lightbox-previous {
    left: 8px;
  }

  .photo-lightbox-next {
    right: 8px;
  }
}

.paper-title {
  font-size: 16px;
  padding: 8px 0;
  font-weight: 600;
}

.paper-subsection {
  padding: 8px 0;
}

.paper-authors {
  padding: 8px 0;
}

.theme-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
}

.theme-icon:hover,
.theme-icon:focus-visible {
  background: rgba(128, 128, 128, 0.18);
}

.theme-icon:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.theme-icon svg {
  display: block;
  flex: 0 0 auto;
}

.pad {
  padding: 3px 0;
  font-size: 14px;
}

.small-pad {
  padding: 4px 0;
  font-size: 13px;
}

.footer-container {
  width: 100%;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact {
  font-size: 14px;
}

.education-container {
  gap: 20px;
  display: flex;
  margin-top: 8px;
  align-items: flex-start;
}

.education-logo-container {
  flex-shrink: 0;
  height: 80px;
  display: flex;
  padding-top: 2px;
  justify-content: center;
}

.education-logo {
  width: 48px;
  height: 48px;
}

.education-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.contact {
  padding-bottom: 24px;
}

.contact-ul {
  margin: 0px;
  padding: 6px 0px 22px 16px;
}

.paper-list {
  margin: 0px;
  padding: 4px 0px 20px 24px;
}

@media (max-width: 560px) {
  .education-content {
    min-width: 0;
    flex-direction: column;
  }

  .education-text {
    margin-right: 0;
  }

  .education-content .company-images {
    width: 100%;
    margin-top: 8px;
    justify-content: flex-start;
  }

  .education-content .company-images figure {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .education-content .company-image {
    display: block;
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 424px) {
  .row-header {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    column-gap: 30px;
    row-gap: 12px;
    justify-content: center;
    justify-items: center;
  }

  .row-header-item:nth-child(5) {
    grid-column: 2;
  }

  .row-header-item:nth-child(6) {
    grid-column: 3;
  }
}
