body {
  font-family: sans-serif;
  max-width: 700px;
  margin: auto;
  padding: 1rem;
  line-height: 1.6;
}

/* CHANGE: make footer stick to bottom */
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}

/* ABOUT section layout */
.about {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  /* gap: 1rem; */
  margin-top: 1.5rem;
}
.about-photo{
  line-height: 0;
  display: flex;
  align-items: center;
}
.about-photo img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin-left: 10px;
  object-fit: cover;
}
.about h2 {
  margin-top: 0;
}

.secondary h3 {
  margin-top: 0;
}

/* CONTACTS styling */
.contacts a {
  margin-right: 0.75rem;
  text-decoration: none;
  color: #007acc;
  font-size: 1rem;
}

.contacts-section h2 {
  margin-bottom: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0rem;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #007acc;
}

/* COOPERATION cards */
.coop-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
.coop-card {
  display: flex;
  gap: 0.75rem;
  border: 1px solid #ddd;
  padding: 0.75rem;
  border-radius: 6px;
  align-items: center;
}
.coop-card img {
  width: 160px;
  height: 160px;
}
.coop-card h3 {
  margin: 0;
  font-size: 1rem;
}
.coop-card p {
  margin: 0.25rem 0 0 0;
  font-size: 0.9rem;
  color: #555;
}

/* Project section styling moved from inline style */
.project-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.project-item {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}
.project-logo img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  margin-right: 1rem;
}
.project-details {
  flex: 1;
}
.project-title {
  font-size: 1.05rem;
  font-weight: normal;
  margin: 0;
}
.project-dates {
  margin: 0.2rem 0;
  font-size: 0.85rem;
  color: #666;
}
.project-description {
  margin: 0.4rem 0 0 0;
  font-size: 0.95rem;
}

.danger-zone {
  margin-top: 1rem;
  /* border: 1px solid #E09BFF; */
  border: 1px solid #F8E9FF;
  padding: 12px;
  border-radius: 6px;
  background: #FFFFFF;
}

.danger-toggle {
  background: none;
  border: none;
  color: #7800AF;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0;
  padding-left: 0;
}

.danger-content {
  display: none;
  margin-top: 8px;
  color: #111111;
}

.danger-hint{
  margin-top: 6px;
  margin-bottom: 0px;
}

/* class-based show (preferred over inline styles) */
.danger-content.show {
  display: block;
}
