/* Общие стили */
body {
  font-family: 'Helvetica', Arial, sans-serif;
  line-height: 1.7;
  color: #444;
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  background-color: #fff;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
}

.logo img {
  max-width: 120px;
  height: auto;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  font-size: 16px;
  font-weight: 600;
}

/* Main */
main {
  padding: 40px;
  background-color: #fff;
  max-width: 1024px;
  margin: 0 auto;
}

article {
  margin-bottom: 40px;
}

h1 {
  font-size: 28px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 40px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 -2px 4px rgb(0 0 0 / 10%);
}

footer p {
  margin-bottom: 15px;
}

footer a {
  color: #fff;
  margin: 0 10px;
}

/* Адаптивная верстка */
@media screen and (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }

  .links {
    flex-direction: column;
    gap: 10px;
  }
}