:root{
  --accent:#ffffff;
  --text:#111;
  --muted:#444;
  --rule:#d9d9d9;
  --bg:linear-gradient(1deg, #35546e, #3572d4);;
  --card:#faf7f7;
}
*{box-sizing:border-box}
body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Times New Roman", Times, serif;
  line-height:1.45;
}
.page{
  max-width:780px;
  margin:0 auto;
  padding:28px 22px 40px;
}
header{
  text-align:center;
  margin-top:6px;
}
header h1{
  margin:0;
  font-size:34px;
  font-weight:700;
  letter-spacing:0.2px;
}
header h2{
  margin:6px 0 0;
  font-size:26px;
  color:var(--accent);
  font-weight:700;
}
nav{
  margin:18px auto 18px;
  padding:10px 12px;
  border-top:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  font-size:16px;
}
nav a{
  color:var(--text);
  text-decoration:none;
  padding:4px 8px;
  border-radius:6px;
}
nav a:hover{
  background:#dac863;
}
.hero{
  margin:18px auto 22px;
  background:var(--card);
  border:1px solid var(--rule);
  border-radius:10px;
  padding:14px;
}
.hero .caption{
  text-align:center;
  font-style:italic;
  color:var(--muted);
  margin-top:8px;
  font-size:14px;
}
h3{
  color:var(--accent);
  font-size:19px;
  margin:18px 0 6px;
}
p{margin:0 0 10px}
ul{margin:6px 0 12px 20px}
li{margin:6px 0}
.section-title{
  text-align:center;
  color:var(--accent);
  font-weight:700;
  font-size:18px;
  margin:18px 0 10px;
}
hr{
  border:none;
  border-top:1px solid var(--rule);
  margin:18px 0;
}
.table-wrap{
  overflow:auto;
  border:1px solid var(--rule);
  border-radius:10px;
  background:#ffffff;
}
table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
thead th{
  background:#f2eaea;
  text-align:left;
  padding:10px 10px;
  border-bottom:1px solid var(--rule);
}
tbody td{
  padding:10px 10px;
  vertical-align:top;
  border-bottom:1px solid #eee;
}
tbody tr:last-child td{border-bottom:none;}
.badge{
  display:inline-block;
  min-width:22px;
  text-align:center;
  border:1px solid var(--rule);
  border-radius:6px;
  padding:1px 7px;
  background:#fbfbfb;
  font-weight:700;
}
footer{
  margin-top:26px;
  padding-top:14px;
  border-top:1px solid var(--rule);
  font-size:13px;
  color:var(--muted);
  text-align:center;
}
.small{font-size:13px;color:var(--muted)}

/* ===== КАРТОЧКИ КОМАНДЫ ===== */
.team-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
}

.person-card {
    width: 220px;
    background: linear-gradient(1deg, #afae4f, #7a691a);
    border-radius: 12px;
    border: 2px solid #c3cef1;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.person-card:hover {
    transform: translateY(-5px);
    border-color: #001aff;
    box-shadow: 0 8px 16px rgba(25, 0, 255, 0.15);
}

.person-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    
    margin-bottom: 15px;
}

.person-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 10px 0 5px;
}

.person-project {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}


/* ===== РАМКА ДЛЯ ТЕКСТА ===== */
.content {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    line-height: 1.6;
    border: 2px solid #e9e505;
    border-radius: 10px;
    background-color: #7c9eb4;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.content h2 {
    color: #000002;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.content p {
    margin-bottom: 18px;
    color: #333;
    font-size: 16px;
}

/* Первый абзац после заголовка */
.content h2 + p {
    margin-top: 5px;
}