.brand-box-mcomp {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.brand-box {
  width: calc(50% - 10px); /* 2 boxy na řádek na desktopu */
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-content {
  display: flex;
  align-items: center;
  padding: 20px;
}

.brand-logo {
  width: 150px;
  height: auto;
  border-radius: 8px; /* Zaoblení okrajů loga */
  transition: transform 0.3s ease;
}

.divider {
  width: 1px;
  height: 170px;
  background-color: #ccc;
  margin: 0 20px;
}

.brand-text {
  flex: 1;
}

.brand-text h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.brand-text p {
  margin: 5px 0 10px;
  color: #666;
}

.brand-more {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.brand-more-link {
  font-weight: bold;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.brand-more-link:hover {
  color: #c80527; /* Změna barvy při hoveru */
}

.brand-arrow {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease;
}

.brand-more:hover .brand-arrow {
  transform: rotate(180deg); /* Otočení šipky o 180° */
}

.brand-box:hover .brand-logo {
  transform: scale(1.1);
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
  .brand-box {
    width: 100%; /* 1 box na řádek na mobilu */
  }

  .brand-content {
    flex-direction: column; /* Na mobilu logo nahoře a text pod ním */
    align-items: center;
    text-align: center; /* Zarovnání textu na střed */
  }

  .divider {
    width: 80%; /* Čára pod logem bude kratší */
    height: 1px;
    margin: 5px 0;
  }

  .brand-logo {
    margin-bottom: 3px; /* Prostor mezi logem a čarou */
  }

  .brand-text {
    margin-top: 10px;
  }

  .brand-more {
    justify-content: center; /* Zarovnání textu "více" a šipky na střed */
  }
}