/* page shell */
.page-shell {
  width: 70% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 900px) {
  .page-shell {
    width: 92% !important;
  }
}

.page-shell > section {
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .page-shell {
    padding: 2.5rem 2rem 4rem;
  }
}

/* page header */
.page-header {
  margin-bottom: 2rem;
  text-align: left;
}

.page-title {
  margin: 0 0 0.5rem 0;
  font-size: 2.2rem;
  line-height: 1.1;
}

.page-description {
  margin: 0;
  max-width: 760px;
  line-height: 1.6;
  color: #555;
}

/* content sections */
.content-section {
  margin-bottom: 3rem;
}

.section-header {
  margin-bottom: 1.25rem;
}

.section-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 700;
}

.section-intro {
  margin: 0;
  max-width: 760px;
  line-height: 1.6;
  color: #555;
}

/* consistent lists */
.card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* mini highlight rows */
.highlight-row {
  margin-bottom: 2.5rem;
}

/* generic panel/card */
.panel-card {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
  padding: 1.2rem;
}

/* consistent two-column project card */
.project-card {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
  padding: 1.2rem;
}

.project-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.project-card-grid > :only-child {
  grid-column: 1 / -1;
}

.project-main,
.project-meta {
  text-align: left;
  min-width: 0;
}

.project-title {
  margin: 0 0 0.4rem 0;
  font-size: 1.3rem;
  line-height: 1.3;
}

.project-status {
  display: inline-block;
  background: #ead98b;
  color: #333;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.project-media {
  margin: 0.75rem 0 1rem;
}

.project-media img,
.project-media video {
  width: 100%;
  max-width: 520px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.project-summary {
  margin: 0 0 1rem 0;
  line-height: 1.65;
}

.project-meta {
  text-align: left;
}


.project-section {
  margin-top: 1rem;
}

.project-section h4 {
  margin: 0 0 0.45rem 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.project-description__block {
  margin-bottom: 1rem;
}

.project-description__heading {
  margin: 0 0 0.4rem 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.project-description__text {
  margin: 0;
  line-height: 1.6;
}

.project-description__list,
.project-publications__list {
  margin: 0;
  padding-left: 1.2rem;
}

.project-description__list li,
.project-publications__list li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.project-cta {
  margin-top: 1rem;
}

/* shared logo / people blocks */
.project-meta
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 1rem;
  align-items: start;
  justify-items: start;
  width: 100%;
}

.project-meta
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 1rem;
  align-items: start;
  justify-items: start;
  width: 100%;
}


/*  for people page */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 3rem 3.5rem;
  margin: 2rem 0 4rem;
}

.logo-item,
.person-item {
  min-width: 0;
  width: 100%;
  text-align: left;
}

.logo-item img {
  max-width: 90px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.person-item img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.logo-label,
.person-label {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  line-height: 1.2;
  color: #666;
  word-break: break-word;
}

/* responsive */
@media (max-width: 900px) {
  .project-card-grid {
    grid-template-columns: 1fr;
  }

  .project-media img,
  .project-media video {
    max-width: 100%;
  }
}

.highlights-top {
  margin-bottom: 3rem;
}

.highlight-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.highlight-mini-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1rem;
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.highlight-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.highlight-mini-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.75rem;
}

.highlight-mini-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.3;
  text-align: left;
}

.highlight-mini-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #555;
  text-align: left;
}

@media (max-width: 900px) {
  .highlight-mini-grid {
    grid-template-columns: 1fr;
  }
}

.highlight-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .highlight-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .highlight-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* header image crossfade */
.header-image-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.header-image-layer--2 {
  animation: header-crossfade 10s ease-in-out infinite;
  opacity: 0;
}

@keyframes header-crossfade {
  0%, 40%  { opacity: 0; }
  50%, 90% { opacity: 1; }
  100%     { opacity: 0; }
}

/* 12-image cycle (gallery) */
.header-image-layer--cycle12-1,
.header-image-layer--cycle12-2,
.header-image-layer--cycle12-3,
.header-image-layer--cycle12-4,
.header-image-layer--cycle12-5,
.header-image-layer--cycle12-6,
.header-image-layer--cycle12-7,
.header-image-layer--cycle12-8,
.header-image-layer--cycle12-9,
.header-image-layer--cycle12-10,
.header-image-layer--cycle12-11,
.header-image-layer--cycle12-12 {
  animation: header-crossfade-12 36s ease-in-out infinite;
  opacity: 0;
}
.header-image-layer--cycle12-2  { animation-delay: 3s; }
.header-image-layer--cycle12-3  { animation-delay: 6s; }
.header-image-layer--cycle12-4  { animation-delay: 9s; }
.header-image-layer--cycle12-5  { animation-delay: 12s; }
.header-image-layer--cycle12-6  { animation-delay: 15s; }
.header-image-layer--cycle12-7  { animation-delay: 18s; }
.header-image-layer--cycle12-8  { animation-delay: 21s; }
.header-image-layer--cycle12-9  { animation-delay: 24s; }
.header-image-layer--cycle12-10 { animation-delay: 27s; }
.header-image-layer--cycle12-11 { animation-delay: 30s; }
.header-image-layer--cycle12-12 { animation-delay: 33s; }

@keyframes header-crossfade-12 {
  0%    { opacity: 0; }
  1.4%  { opacity: 1; }
  6.9%  { opacity: 1; }
  8.3%  { opacity: 0; }
  100%  { opacity: 0; }
}

/* 6-image cycle (gallery) */
.header-image-layer--cycle6-1,
.header-image-layer--cycle6-2,
.header-image-layer--cycle6-3,
.header-image-layer--cycle6-4,
.header-image-layer--cycle6-5,
.header-image-layer--cycle6-6 {
  animation: header-crossfade-6 18s ease-in-out infinite;
  opacity: 0;
}
.header-image-layer--cycle6-2 { animation-delay: 3s; }
.header-image-layer--cycle6-3 { animation-delay: 6s; }
.header-image-layer--cycle6-4 { animation-delay: 9s; }
.header-image-layer--cycle6-5 { animation-delay: 12s; }
.header-image-layer--cycle6-6 { animation-delay: 15s; }

@keyframes header-crossfade-6 {
  0%    { opacity: 0; }
  5.6%  { opacity: 1; }
  11.1% { opacity: 1; }
  16.7% { opacity: 0; }
  100%  { opacity: 0; }
}

/* 3-image cycle (seminars) */
.header-image-layer--cycle-1,
.header-image-layer--cycle-2,
.header-image-layer--cycle-3 {
  animation: header-crossfade-3 12s ease-in-out infinite;
  opacity: 0;
}
.header-image-layer--cycle-2 { animation-delay: 4s; }
.header-image-layer--cycle-3 { animation-delay: 8s; }

@keyframes header-crossfade-3 {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  42%  { opacity: 0; }
  100% { opacity: 0; }
}

html {
  scroll-behavior: smooth;
}
.scholar-feed__wrapper {
  margin-top: 1.5rem;
}

.scholar-feed__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.scholar-feed__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.scholar-feed__subtitle {
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.95rem;
}

.scholar-feed__profile-link {
  text-decoration: none;
  font-size: 0.95rem;
}

.scholar-feed__controls {
  display: grid;
  grid-template-columns: 180px 160px minmax(220px, 1fr);
  gap: 1rem;
  align-items: end;
  margin: 1.25rem 0 1rem;
}

.scholar-feed__control {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.scholar-feed__control label {
  font-size: 0.9rem;
  font-weight: 600;
}

.scholar-feed__select,
.scholar-feed__input {
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
}

.scholar-feed__results-info {
  margin: 0 0 1rem;
  color: #666;
  font-size: 0.92rem;
}

.scholar-feed__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scholar-feed__card {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
  padding: 1.15rem 1.2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.scholar-feed__card-main {
  min-width: 0;
}

.scholar-feed__paper-title {
  margin: 0 0 0.45rem 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.scholar-feed__paper-title a {
  text-decoration: none;
}

.scholar-feed__meta {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.55;
}

.scholar-feed__authors,
.scholar-feed__venue {
  margin-top: 0.15rem;
}

.scholar-feed__card-side {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
  align-content: flex-start;
}

.scholar-feed__chip {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #f3f3f3;
  color: #444;
  font-size: 0.88rem;
  white-space: nowrap;
}

.scholar-feed__empty {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fff;
  padding: 1rem 1.2rem;
  color: #666;
}

.scholar-feed__state {
  padding: 1rem 0;
  color: #666;
}

.scholar-feed__state--error {
  color: #a33;
}

@media (max-width: 900px) {
  .scholar-feed__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 1.25rem 0 1rem;
}

  .scholar-feed__card {
    grid-template-columns: 1fr;
  }

  .scholar-feed__card-side {
    justify-content: flex-start;
  }
}
.linkedin-feed__wrapper {
  margin-top: 1.5rem;
}

.linkedin-feed__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.linkedin-feed__title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.linkedin-feed__subtitle {
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.95rem;
}

.linkedin-feed__profile-link {
  text-decoration: none;
  font-size: 0.95rem;
}

.linkedin-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.linkedin-card__top {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.linkedin-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.linkedin-card__identity {
  min-width: 0;
}

.linkedin-card__name {
  font-weight: 600;
  line-height: 1.2;
}

.linkedin-card__date {
  color: #666;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.linkedin-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.linkedin-card__text {
  margin: 0;
  line-height: 1.55;
  color: #222;
  text-align: left;
}

.linkedin-card__actions {
  margin-top: auto;
}

.linkedin-card__link {
  text-decoration: none;
  font-weight: 500;
}

.linkedin-feed__state {
  padding: 1rem 0;
  color: #666;
}

.linkedin-feed__state--error {
  color: #a33;
}

.project-description {
  margin-top: 1.25rem;
  text-align: left;
}

.project-description__block {
  margin-bottom: 1.25rem;
}

.project-description__heading {
  margin: 0 0 0.45rem 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.project-description__text {
  margin: 0;
  line-height: 1.6;
}

.project-description__list {
  margin: 0;
  padding-left: 1.2rem;
}

.project-description__list li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

/* people - page */

.people-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: start;
}

.people-page-card {
  text-align: center;
}

.people-page-image {
  width: 180px;
  height: 180px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
}

.people-page-name {
  margin: 0 0 0.35rem 0;
  font-size: 1.4rem;
  line-height: 1.2;
}

.people-page-role {
  margin: 0 0 0.75rem 0;
  color: #555;
  font-size: 1rem;
}

.people-page-bio {
  text-align: left;
}

.people-page-bio p {
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .people-page-grid {
    grid-template-columns: 1fr;
  }

  .people-page-image {
    width: 150px;
    height: 150px;
  }
}

/*people card*/



.people-card {
  text-align: center;
}

.people-card img {
  display: block;
  width: 240px;
  height: 240px;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  object-fit: cover;
}

.people-card h2,
.people-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 500;
  color: #000;
}

.people-role {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #111;
}

.people-bio {
  max-width: 34rem;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #111;
  text-align: justify;
}

.people-bio p {
  margin: 0 0 0.85rem;
}

@media (max-width: 900px) {
  .people-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 700px) {
  .people-card img {
    width: 200px;
    height: 200px;
  }

  .people-card h2,
  .people-card h3 {
    font-size: 1.55rem;
  }

  .people-role {
    font-size: 1rem;
  }

  .people-bio {
    text-align: justify;
  }
}

/* gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


.people-links {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

/* icon container */
.people-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: #f3f4f6;
  text-decoration: none;
  flex-shrink: 0;
}

/* FORCE SVG SIZE */
.people-link img {
  width: 25px !important;
  height: 25px !important;
  min-width: 25px;
  min-height: 25px;
  max-width: 25px !important;;
  max-height: 25px !important;;
  display: block;
  fill: #374151;
}

/* prevent theme rules affecting it */
.people-link img * {
  vector-effect: non-scaling-stroke;
}

.people-link:hover {
  background: #e5e7eb;
}