

/* .css for https://www.cbeaume.com */
/* To be imported by cbeaume2026.css */
/* Author: Cédric Beaume */
/* Date: 2026 */


/* ==== index.html ==== */

.home-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-3) 0;
}

.home-links img {
  display: block;
}


/* ==== Research Page Style ==== */

.research-card {
  text-align: center;
  margin-bottom: 2rem;
  min-width: 0;
}

.research-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.research-card img:hover {
  transform: scale(1.02);
}

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

.research-image {
  margin-top: 0.5rem;
  text-align: center;
}

.full-width img {
  width: 100%;
  max-width: 450px;
  height: auto;
}

.research-grid img {
  width: 100%;
  height: auto;
}

.right-note {
  text-align: right;
  font-style: italic;
  margin-top: 1rem;
}


/* ==== numerics.html ==== */

.numerics-description {
  text-align: justify;
  margin: 0.5em 0;
}

.numerics-image {
  text-align: center;
  margin: 10px 0;
}


/* ==== publications.html ==== */

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

.publication-list li p {
  padding-left: 20px;
  text-indent: -20px;
  margin: 0;
}

.publication-item {
  padding-left: 20px;
  text-indent: -20px;
}


/* ==== people.html ==== */

.members {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.member-card {
  min-height: 140px;
  display: flex;
  gap: 14px;
  padding: 0px 10px;
  align-items: center;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member-card img {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.member-info h4 {
  margin: 0;
}

.member-info p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.25;
}

.member-info .topic {
  color: #555;
  font-size: 0.9em;
}

.member-info .email {
  font-family: monospace;
  font-size: 0.85em;
  opacity: 0.65;
}

.msc-members {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.msc-item {
  font-size: 0.95em;
  line-height: 1.4;
  padding: 4px 0 4px 10px;
  border-left: 2px solid #ddd;
  padding-left: 8px;
}

.msc-item:hover {
  border-left-color: var(--section-color);
}

.msc-item .name {
  font-weight: 600;
}

.msc-item .role {
  color: #666;
  font-size: 0.9em;
}


/* ==== Teaching Page Style ==== */

.teaching-entry {
  margin-bottom: var(--space-3);
}

.teaching-title {
  line-height: 1.35;
}

.teaching-years {
  color: #666;
  font-weight: normal;
}

.teaching-kind {
  font-weight: bold;
  color: var(--section-color);
}

.teaching-meta {
  margin-top: var(--space-0);
  padding-left: var(--space-2);
}

.teaching-links {
  margin-top: var(--space-0);
  padding-left: var(--space-3);
  font-size: 0.95rem;
}

.course-page details p {
  margin-bottom: var(--space-0);
  line-height: 1.4;
  text-align: left;
  hyphens: none;
}

.course-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin-bottom: var(--space-1);
}

.lecture-title {
  margin-top: var(--space-2);
  margin-bottom: 0;
  font-weight: bold;
  color: var(--section-color);
  line-height: 1.25;
}

.course-page details p:not(.lecture-title) {
  margin-left: var(--space-2);
}


/* ==== cv.html ==== */

.cv {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.cv-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-2);
  align-items: baseline;
}

.cv-communication .cv-row {
  grid-template-columns: 100px minmax(0, 1fr);
}

.cv-teaching .cv-row {
  grid-template-columns: 190px minmax(0, 1fr);
}

.cv-label {
  text-align: right;
  font-weight: bold;
  color: var(--section-color);
  white-space: nowrap;
}

.cv-content {
  margin: 0;
}

.cv-content p {
  margin: 0;
}

.cv-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.cv-content li {
  margin-bottom: var(--space-0);
}
