* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.cta-button {
  background: white;
  color: #1e3c72;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 0;
  font-size: 1.5em;
  font-weight: bold;
  transition: background-color 0.3s;
  text-transform: uppercase;
}

.cta-button:hover {
  background: #4b83c2;
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  /* background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); */
  background: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  position: sticky;
  top: 0;
}

@media (max-width: 768px) {
  .header {
    position: static;
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  height: 60px;
  margin-right: 20px;
}
.logo:hover {
  cursor: pointer;
}

.title {
  flex: 1;
}

.title h1 {
  font-size: 1.8rem;
}

.title p {
  opacity: 0.9;
  font-size: 1rem;
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .nav-menu  {
    display: none;
  }
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background-color: #1e3c72;
  transition: background-color 0.3s;
  font-weight: 500;
}

.nav-menu a:hover {
  background-color: #1e3c72;
  color: white;
}

.nav-menu a.active {
  background-color: #1e3c72;
  color: white;
}

/* Main Content */
.main-content {
  flex: 1;
}

.card {
  background: white;
  border-radius: 0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.card h2 {
  margin-bottom: 1em;
  font-size: 1.3em;
}

/* Campaign Info */
.campaign-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.info-item {
  padding: 0.5rem 0;
}

.info-item strong {
  color: #555;
}

/* Footer */
.footer {
  /* background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); */
  background: black;
  color: white;
  padding: 1.5rem 0;
  text-align: center;
  margin-top: 2rem;
  font-size: 1em;
}

.footer-content {
  color: white;
  display: flex;
  font-size: 1em;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-contacts {
  font-size: 0.9rem;
}

.footer-contacts p {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 1em;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.status-active {
  background-color: #d4edda;
  color: #155724;
}

.status-closed {
  background-color: #f8d7da;
  color: #721c24;
}

/* Loading State */
.loading {
  text-align: center;
  padding: 2rem;
  color: #666;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2a5298;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Error State */
.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 5px;
  margin: 1rem 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .logo:hover {
    cursor: pointer;
  }

  .title h1 {
    font-size: 1.4rem;
  }

  .nav-menu {
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .campaign-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .card {
    padding: 1rem;
  }

  .title h1 {
    font-size: 1.2rem;
  }

  .nav-menu a {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}

/* ... существующие стили ... */

/* Navigation */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.nav-menu a {
  background-color: #fff;
  border: 1px solid #1e3c72;
  color: #1e3c72;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
  font-weight: 500;
}

/* ... остальные стили ... */

@media (max-width: 768px) {
  /* ... существующие медиа-запросы ... */
  .nav-menu {
    display: none;
  }
  .nav-menu {
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .nav-menu a {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}


.blocks {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2em;
}

.blocks > div {
  width: 50%;
}

@media (max-width: 768px) {
  .blocks {
    flex-direction: column-reverse;
  }

  .blocks > div {
    width: 100%;
  }
}


.hamburger-menu {
  display: block;
  position: absolute;
  height: 65px;
  z-index: 1000;
  background: white;
}
@media (min-width: 768px) {
  .hamburger-menu {
    display: none;
  }
}

/* скрываем чекбокс */
#menu__toggle {
  opacity: 0;
}/* стилизуем кнопку */
.menu__btn {
  display: flex; /* используем flex для центрирования содержимого */
  align-items: center;  /* центрируем содержимое кнопки */
  position: fixed;
  top: 20px;
  left: 20px;  width: 26px;
  height: 26px;  cursor: pointer;
  z-index: 1;
}/* добавляем "гамбургер" */
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;  width: 100%;
  height: 2px;  background-color: #616161;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}


/* контейнер меню */
.menu__box {
  display: block;
  position: fixed;
  visibility: hidden;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  text-align: left;
  background-color: white;
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
}

/* элементы меню */
.menu__item {
  display: block;
  padding: 12px 24px;  color: #333;  font-family: 'Roboto', sans-serif;
  padding-left: 2em;
  font-size: 20px;
  font-weight: 600;  text-decoration: none;
}
.menu__item:hover {
  background-color: #d6d6d6;
}

#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
}

