:root {
  --tuni-purple: #4e008e;
  --tuni-purple-hover: #6b20a8;
  --text: #1a1a1a;
  --muted: #666;
  --line: #e2e2e2;
  --soft-bg: #f7f4fa;
  --page-width: 780px;
}

*, *::before, *::after {
  box-sizing: border-box;
}


html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.68;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 40px 32px 56px;
}

.top-logo {
  margin-bottom: 32px;
}

.top-logo img {
  display: block;
  width: auto;
  max-width: 220px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.lang-link {
  margin: 0 0 28px;
  font-size: 0.92rem;
  color: var(--muted);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: 1.95rem;
  line-height: 1.22;
  font-weight: 700;
  color: var(--tuni-purple);
  margin-bottom: 18px;
}

h2 {
  font-size: 1.34rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--tuni-purple);
  margin: 34px 0 12px;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}

p {
  margin-bottom: 14px;
}

a {
  color: var(--tuni-purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  color: var(--tuni-purple-hover);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}

.req {
  margin-bottom: 12px;
  padding-left: 1.45rem;
  text-indent: -1.45rem;
}

.req-label {
  font-weight: 700;
  color: var(--tuni-purple);
  margin-right: 0.18rem;
}

.deadline {
  font-weight: 700;
  color: var(--tuni-purple);
}

.contact {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--soft-bg);
  border-left: 4px solid var(--tuni-purple);
}

.contact p:last-child,
.signature p:last-child {
  margin-bottom: 0;
}

.profile-link {
  margin-top: 16px;
}

.signature {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
  color: #404040;
}

.signature p {
  margin-bottom: 2px;
}

.sig-name {
  font-size: 1.04em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-logos {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo-slot {
  width: 400px;
  height: auto;
}

.logo-slot img {
  width: 100%;
  height: auto;
  max-height: none;
}

.logo-slot.left {
  justify-content: flex-start;
}

.logo-slot.right {
  justify-content: flex-end;
}

.project-img {
  float: right;
  width: 220px;
  margin: 4px 0 12px 12px;
}

.clear {
  clear: both;
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .page {
    padding: 24px 18px 40px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .footer-logos {
    gap: 16px;
  }

  .logo-slot {
    width: 400px;
    height: auto;
  }

  .top-logo img {
    max-width: 180px;
    height: 48px;
  }
    


.clear {
  clear: both;
}
    

}