* {
  box-sizing: border-box;
}

:root {
  --ugent-blue: #1e64c8;
  --light-blue: #f4f8fc;
  --text-dark: #1a1a1a;
  --text-light: #666;
}

@font-face {
  font-family: "SemiLightPano";
  src: url("/static/font/ugentpannotext-semilight-web.woff") format("woff"),
    url("/static/font/ugentpannotext-semilight-web.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "SemiBoldPano";
  src: url("/static/font/ugentpannotext-semibold-web.woff") format("woff"),
    url("/static/font/ugentpannotext-semibold-web.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "MediumPano";
  src: url("/static/font/ugentpannotext-medium-web.woff") format("woff"),
    url("/static/font/ugentpannotext-medium-web.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  background: #f7f9fc;
  color: #1a1a1a;
  font-family: "SemiLightPano", sans-serif;
}

a,
a:visited,
a:hover {
    color: var(--ugent-blue);
}

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

.container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-areas: "left center right";
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}


.container .card {
  background: white;
  border-radius: 12px;
  padding: 20px 20px 50px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.profile-left {
  grid-area: left;
  text-align: center;
}
.logo-container { 
  width: 100%;
  text-align: left;
  margin-bottom: 100px;
}
.profile-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 35px 0 0 0;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  text-decoration: none;
  svg {
    width: 32px;
    height: 32px;
    transition: transform 0.5s ease;
    path {
      fill: var(--ugent-blue);
    }
    &:hover {
      transform: scale(1.15);
    }
  }
}

.contact-icon {
  width: 26px;
  height: 26px;
  transition: transform 0.2s ease;
}

.contact-icon path {
  fill: var(--ugent-blue);
}

.icon-link:hover .contact-icon {
  transform: scale(1.08);
}

.container .profile-left.side.left {
  background: #e9f0fa;
}

.profile-photo {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.profile-left a {
	font-size:20px;
}

.profile-right .info-item {
  margin-bottom: 15px;
}

.profile-center {
  grid-area: center;
}

.profile-right {
  grid-area: right;
}

.profile-right h2 {
  margin-top: 0;
}

.profile-right p {
  margin: 0;
}

.profile-right ul {
  margin: 0;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
}

.side.left {
  background: #e9f0fa;
}

.right h2 {
margin-top:35px;
  margin-bottom: 8px;
  font-size: 18px;
	font-family: "MediumPano";
}

.logo {
  width: 120px;
  height: auto;
}

.researcher-title {
  color: #7a7a7a;
  font-weight: 400;
  margin-bottom: 8px;
}

.researcher-name {
  margin: 0 0 12px;
  font-weight: 400;
}

.card-narrow {
  max-width: 560px;
  margin: 48px auto;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, button {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d8dce4;
}

button {
  border: 0;
  background: #1e64c8;
  color: #fff;
  cursor: pointer;
}

.error {
  margin: 12px 0;
  background: #ffe8e8;
  border: 1px solid #ffbaba;
  padding: 10px;
  border-radius: 8px;
}

.research-explorer-wrap {
  padding-top:25px;
  margin-top: 50px;
  border-top: 1px dashed #dddddd;
  text-align:center;
  font-size:16px;
  color:#777777;
}

.muted {
  color: #666;
}

.markdown {
  /* Prevent preserved template whitespace from adding visual gaps in lists. */
  white-space: normal;
  padding-top:25px;
}

.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
  font-weight: 400;
  margin:0;
  padding:0;
  line-height:100%
}

.markdown h1 {
	font-family: "SemiBoldPano";
	font-size: 36px;
}
.markdown h2 {
	margin: 50px 0 25px 0;
	font-family: "MediumPano";
	font-size: 24px;
}


.markdown p {
  margin: 0;
  font-size:20px;
  line-height:135%
}

.markdown ul,
.markdown ol {
	margin: 25px 0;
  padding: 0 0 0 25px;
}

.markdown li {
  margin: 0;
  padding: 0 0 10px 0;
  line-height:125%;
  font-size:20px;
}

.markdown hr {
  margin: 25px 0
}


.side.right ul {
padding:0;
list-style:none;
  margin: 0;
}

.side.right li {
  margin: 5px 0;
}

@media (max-width: 980px) {
  .container.profile-page {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "center"
      "right";
  }
  .logo-container { 
    margin-bottom: 10px;
  }

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