/* Загальні стилі */
.beta-banner {
  background-color: #0d6efd;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #0056b3;
}



body {
  font-family: 'Arial', sans-serif;
  background-color: #f9fafb;
}


.object-fit-cover {
  object-fit: cover;
}




h1 {
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
}

.trainer-name {
    color: #007bff;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0;
}

.header .container.d-flex.align-items-center {
    justify-content: center !important;
}

.card .card-body .card-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem;
  
}

/* Заголовок */
.header {
  background-color: #f9fafb;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.header-title {
  font-size: 24px;
  font-weight: bold;
  color: #007bff !important;
}

/* Оновлені стилі тегів у картках */
.tags-container {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-badge {
  display: inline-block;
  background-color: transparent;
  color: #666;
  font-size: 0.75em;
  
  border-radius: 12px;
  font-weight: normal;
  text-align: center;
  border: none;
}

/* Кнопки */
.btn-primary,
.btn-outline-primary {
  border-radius: 30px;
  font-weight: 500;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.btn-outline-primary {
  color: #007bff;
  border-color: #007bff;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  color: white;
}

/* Картки */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  border: 1px solid #007bff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card-body {
  padding: 10px;
}

.card-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #007bff;
      margin-left: 4px;
    margin-right: 4px;
}

.card-title:hover {
  text-decoration: none;
}

.card-header {
  font-size: 14px;
  font-weight: bold;
  padding: 8px;
  background-color: #f9fafb;
  border-bottom: 1px solid #ddd;
  color: #333;
}

.text-muted {
  font-size: 14px;
  margin-bottom: 4px;
}

.btn-group-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.footer {
  background-color: #f1f1f1;
  font-size: 0.9em;
  color: #555;
}

#footer-menu .nav-link {
    font-size: 0.9rem;  /* Трохи менший шрифт */
    padding: 5px 10px;  /* Менші відступи */
    white-space: nowrap;
    color: #333;
    transition: color 0.3s;
}

#footer-menu .nav-link:hover {
    color: #1C64F2;
}


.filter-buttons {
  text-align: center; /* центрування рядків */
}

.filter-buttons .btn {
  display: inline-block;
  margin: 4px;
  white-space: normal;      /* 🔥 дозволяє перенос по словам */
  word-break: break-word;   /* 💥 переносить при потребі */
  text-align: center;       /* 👌 красиве центрування */
  max-width: 100%;          /* 📏 не виходить за межі контейнера */
      
}
.mt-3 {
    margin-bottom: 1rem !important;
}



.navbar-custom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  background-color: transparent;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.navbar-custom a {
  text-decoration: none;
  color: #333;
  padding: 0.3rem 0.6rem;
  border-radius: 0.3rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-custom a:hover {
  background-color: #e3f2fd;
  color: #0d6efd;
}

.navbar-custom a.active {
  background-color: #0d6efd;
  color: white;
}
  .social-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #f1f1f1;
  border-radius: 50%;
  color: #0d6efd;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  font-size: 1.2rem;
}

.social-btn:hover {
  background-color: #0d6efd;
  color: white;
  transform: scale(1.1);
}

 p {
    margin-bottom: 1em; /* відстань між абзацами */
    text-indent: 2em;   /* відступ першого рядка */
    line-height: 1.5;   /* висота рядка для зручності читання */
}
b{
    color: #007bff;
}

.navbar-nav .nav-link {
  color: #007bff !important;
  font-weight: normal;
  text-decoration: none;
}

.navbar-nav .nav-link:hover {
  font-weight: bold;
  text-decoration: none;
}
