.branch__cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: 4rem 0;
}

.branch__card {
  display: flex;
  max-width: 55rem;
  width: 100%;
  justify-content: space-between;
}

.branch__card-body {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
}

.branch__image-container {
  position: relative;
  width: 30rem;
  aspect-ratio: 4 / 3;
}

.branch__details {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-self: flex-start;
}

.branch__details a {
  color: var(--white);
  text-decoration: none;
}

.branch__details li {
  display: flex;
  font-weight: normal;
}

.branch__details li *:first-child {
  width: 2.2rem;
}

.branch__background {
  background-color: var(--red);
  min-width: 12rem;
  padding: 0.5rem 1rem;
  transform: skew(20deg);
}

.branch__name {
  font-weight: bold;
  text-align: center;
  transform: skew(-20deg);
}

.branch__card-title {
  margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  .branch__card {
    flex-direction: column;
    padding: 0;
    width: 100%;
  }

  .branch__card-body {
    width: 100%;
    margin-bottom: 2rem;
  }

  .branch__image-container {
    width: 100%;
  }
	
  .branch__details {
	padding: 0;
    padding-left: 0.5rem;
	font-size: 1.4rem;
  }
}